diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 01:29:54 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-31 19:18:37 +0300 |
commit | 6ddedca2180b095aacca0f628e0d03a32477f68f (patch) | |
tree | 5803ddaeb0620d622de35d9915308c774a8de4cb /fs/bcachefs/move.h | |
parent | ef435abd6a99206d9bb93462a1b0508e0d876adb (diff) | |
download | linux-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