aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorGao Xiang <[email protected]>2025-08-24 15:11:57 +0000
committerGao Xiang <[email protected]>2025-08-28 03:51:07 +0000
commit131897c65e2b86cf14bec7379f44aa8fbb407526 (patch)
tree35ae89c925bb1be5731bddae93f2a57cd0080dce /fs/btrfs/dev-replace.c
parentLinux 6.17-rc2 (diff)
downloadkernel-131897c65e2b86cf14bec7379f44aa8fbb407526.tar.gz
kernel-131897c65e2b86cf14bec7379f44aa8fbb407526.zip
erofs: fix invalid algorithm for encoded extents
The current algorithm sanity checks do not properly apply to new encoded extents. Unify the algorithm check with Z_EROFS_COMPRESSION(_RUNTIME)_MAX and ensure consistency with sbi->available_compr_algs. Reported-and-tested-by: [email protected] Closes: https://lore.kernel.org/r/[email protected] Fixes: 1d191b4ca51d ("erofs: implement encoded extent metadata") Thanks-to: Edward Adam Davis <[email protected]> Signed-off-by: Gao Xiang <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions