diff options
author | Yue Hu <[email protected]> | 2021-03-25 15:10:08 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2021-03-29 10:19:53 +0800 |
commit | 8137824eddd2e790c61c70c20d70a087faca95fa (patch) | |
tree | 24e1ada29ebc6deb9c818d367bf7adc47908acbc /lib | |
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/[email protected]
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Yue Hu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions