summaryrefslogtreecommitdiff
path: root/fs/bcachefs/move.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-10-23 01:29:54 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-31 19:18:37 +0300
commit6ddedca2180b095aacca0f628e0d03a32477f68f (patch)
tree5803ddaeb0620d622de35d9915308c774a8de4cb /fs/bcachefs/move.h
parentef435abd6a99206d9bb93462a1b0508e0d876adb (diff)
downloadlinux-6ddedca2180b095aacca0f628e0d03a32477f68f.tar.xz
bcachefs: Guard against unknown compression options
Since compression options now include compression level, proper validation is a bit more involved. This adds bch2_compression_opt_valid(), and plumbs it around appropriately. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/move.h')
0 files changed, 0 insertions, 0 deletions