diff options
author | Chao Yu <chao@kernel.org> | 2025-07-08 19:09:28 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-07-24 19:42:05 +0800 |
commit | 1a5223c182fdb3bb3c0ca85cec101c740f685ab6 (patch) | |
tree | 71c32c563aa0db76ac5393e09971eb0af83e72c8 /lib/crypto/mpi/mpiutil.c | |
parent | 96debe8c27ee2494bbd78abf3744745a84a745f1 (diff) |
erofs: do sanity check on m->type in z_erofs_load_compact_lcluster()
All below functions will do sanity check on m->type, let's move sanity
check to z_erofs_load_compact_lcluster() for cleanup.
- z_erofs_map_blocks_fo
- z_erofs_get_extent_compressedlen
- z_erofs_get_extent_decompressedlen
- z_erofs_extent_lookback
Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20250708110928.3110375-1-chao@kernel.org
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions