aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.c
diff options
context:
space:
mode:
authorDaniel Vacek <[email protected]>2025-06-02 15:53:19 +0000
committerDavid Sterba <[email protected]>2025-07-21 21:53:26 +0000
commit3f093ccb95f30f95b7c6014d1f0b6847299190c2 (patch)
tree202aec27c098f045433528774b85fe50beb4c8dc /fs/btrfs/extent_io.c
parentbtrfs: factor out compression mount options parsing (diff)
downloadkernel-3f093ccb95f30f95b7c6014d1f0b6847299190c2.tar.gz
kernel-3f093ccb95f30f95b7c6014d1f0b6847299190c2.zip
btrfs: harden parsing of compression mount options
Btrfs happily but incorrectly accepts the `-o compress=zlib+foo` and similar options with any random suffix. Fix that by explicitly checking the end of the strings. Signed-off-by: Daniel Vacek <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/extent_io.c')
0 files changed, 0 insertions, 0 deletions