diff options
author | Yue Hu <huyue2@yulong.com> | 2021-03-25 15:10:08 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@redhat.com> | 2021-03-29 10:19:53 +0800 |
commit | 8137824eddd2e790c61c70c20d70a087faca95fa (patch) | |
tree | 24e1ada29ebc6deb9c818d367bf7adc47908acbc /fs/erofs/inode.c | |
parent | 0b964600d3aae56ff9d5bdd710a79f39a44c572c (diff) |
erofs: don't use erofs_map_blocks() any more
Currently, erofs_map_blocks() will be called only from
erofs_{bmap, read_raw_page} which are all for uncompressed files.
So, the compression branch in erofs_map_blocks() is pointless. Let's
remove it and use erofs_map_blocks_flatmode() directly. Also update
related comments.
Link: https://lore.kernel.org/r/20210325071008.573-1-zbestahu@gmail.com
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Yue Hu <huyue2@yulong.com>
Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Diffstat (limited to 'fs/erofs/inode.c')
0 files changed, 0 insertions, 0 deletions