erofs: use wrapper i_blocksize() in erofs_file_read_iter()
authorYue Hu <huyue2@coolpad.com>
Mon, 6 Mar 2023 07:55:27 +0000 (15:55 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 9 Mar 2023 15:36:04 +0000 (23:36 +0800)
commit3993f4f456309580445bb515fbc609d995b6a3ae
tree83bfab650400131c641561ab048d3c42acde664f
parent9ff471800b74f5f952c7e75a0355f1d30ee2b046
erofs: use wrapper i_blocksize() in erofs_file_read_iter()

linux/fs.h has a wrapper for this operation.

Signed-off-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/20230306075527.1338-1-zbestahu@gmail.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/data.c