erofs: directly use wrapper erofs_page_is_managed() when shrinking
authorYue Hu <huyue2@yulong.com>
Tue, 10 Aug 2021 06:54:50 +0000 (14:54 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 11 Aug 2021 01:46:34 +0000 (09:46 +0800)
commitf4d4e5fc2b3d03c7e4f3c24ee694a01f8fe27d53
tree4c11ae346a13608bbe95a0cc5c77754dc333eb87
parent771c994ea51f572539ca3961c6a7706862b147e2
erofs: directly use wrapper erofs_page_is_managed() when shrinking

We already have the wrapper function to identify managed page.

Link: https://lore.kernel.org/r/20210810065450.1320-1-zbestahu@gmail.com
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/zdata.c