diff options
author | Gao Xiang <[email protected]> | 2021-09-22 17:51:41 +0800 |
---|---|---|
committer | Gao Xiang <[email protected]> | 2021-09-23 23:22:04 +0800 |
commit | d705117ddd724a9d4877e338e4587010ab6a1c62 (patch) | |
tree | 1b4774a9c081bbc7504d3d3dc94fba5ae1350c1c /drivers/fpga/fpga-bridge.c | |
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/[email protected]
Fixes: c5aa903a59db ("erofs: support reading chunk-based uncompressed files")
Reviewed-by: Liu Bo <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions