summaryrefslogtreecommitdiff
path: root/fs/erofs/compress.h
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@redhat.com>2020-12-08 12:58:33 +0300
committerGao Xiang <hsiangkao@redhat.com>2020-12-08 13:08:21 +0300
commitbf225074ff211f219cff2166cea17b158a0d06a9 (patch)
tree7608d1eae6c1369c49782abf8df9ef010a13dcb8 /fs/erofs/compress.h
parent6aaa7b0664e6886f6154070edbc24435d6e1f86b (diff)
downloadlinux-bf225074ff211f219cff2166cea17b158a0d06a9.tar.xz
erofs: insert to managed cache after adding to pcl
Previously, it could be some concern to call add_to_page_cache_lru() with page->mapping == Z_EROFS_MAPPING_STAGING (!= NULL). In contrast, page->private is used instead now, so partially revert commit 5ddcee1f3a1c ("erofs: get rid of __stagingpage_alloc helper") with some adaption for simplicity. Link: https://lore.kernel.org/r/20201208095834.3133565-2-hsiangkao@redhat.com Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Diffstat (limited to 'fs/erofs/compress.h')
0 files changed, 0 insertions, 0 deletions