erofs: remove unused EROFS_GET_BLOCKS_RAW flag
authorJingbo Xu <jefflexu@linux.alibaba.com>
Thu, 9 Feb 2023 02:48:25 +0000 (10:48 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 15 Feb 2023 00:11:26 +0000 (08:11 +0800)
commit8b58f9f02162124c2149779af401c8115c70b649
treeba68c4436a2a1d968ef41d136171e30f2ee27954
parentd60b87600d134d1b76436e555546ff5403f1a2f9
erofs: remove unused EROFS_GET_BLOCKS_RAW flag

For erofs_map_blocks() and erofs_map_blocks_flatmode(), the flags
argument is always EROFS_GET_BLOCKS_RAW.  Thus remove the unused flags
parameter for these two functions.

Besides EROFS_GET_BLOCKS_RAW is originally introduced for reading
compressed (raw) data for compressed files.  However it's never used
actually and let's remove it now.

Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20230209024825.17335-2-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/data.c
fs/erofs/fscache.c
fs/erofs/internal.h
include/trace/events/erofs.h