Searched hist:bf225074 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/erofs/ |
H A D | zdata.c | bf225074 Tue Dec 08 03:58:33 CST 2020 Gao Xiang <hsiangkao@redhat.com> 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>
|