diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-09-22 17:51:41 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2021-09-23 23:22:04 +0800 |
commit | d705117ddd724a9d4877e338e4587010ab6a1c62 (patch) | |
tree | 1b4774a9c081bbc7504d3d3dc94fba5ae1350c1c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 93368aab0efc87288cac65e99c9ed2e0ffc9e7d0 (diff) |
erofs: fix misbehavior of unsupported chunk format check
Unsupported chunk format should be checked with
"if (vi->chunkformat & ~EROFS_CHUNK_FORMAT_ALL)"
Found when checking with 4k-byte blockmap (although currently mkfs
uses inode chunk indexes format by default.)
Link: https://lore.kernel.org/r/20210922095141.233938-1-hsiangkao@linux.alibaba.com
Fixes: c5aa903a59db ("erofs: support reading chunk-based uncompressed files")
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions