bcachefs: bch2_prt_compression_type()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 7 Jan 2024 02:01:47 +0000 (21:01 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 21 Jan 2024 11:01:45 +0000 (06:01 -0500)
commit4f564f4f9fdd4d120ee04678b0c22e40cc8b6b47
treee8c593d20f6004d9601bce00d6f02031ffa217ff
parente58f963cecbdb08f28334122afba93a7840beabc
bcachefs: bch2_prt_compression_type()

bounds checking helper, since compression types are extensible

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/compress.h
fs/bcachefs/extents.c
fs/bcachefs/opts.c
fs/bcachefs/opts.h
fs/bcachefs/sysfs.c