diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-07 05:01:47 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 14:01:45 +0300 |
commit | 4f564f4f9fdd4d120ee04678b0c22e40cc8b6b47 (patch) | |
tree | e8c593d20f6004d9601bce00d6f02031ffa217ff /fs/bcachefs/opts.c | |
parent | e58f963cecbdb08f28334122afba93a7840beabc (diff) | |
download | linux-4f564f4f9fdd4d120ee04678b0c22e40cc8b6b47.tar.xz |
bcachefs: bch2_prt_compression_type()
bounds checking helper, since compression types are extensible
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.c')
-rw-r--r-- | fs/bcachefs/opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c index 6aaf78de8845..b1ed0b9a20d3 100644 --- a/fs/bcachefs/opts.c +++ b/fs/bcachefs/opts.c @@ -52,7 +52,7 @@ const char * const bch2_csum_opts[] = { NULL }; -const char * const bch2_compression_types[] = { +const char * const __bch2_compression_types[] = { BCH_COMPRESSION_TYPES() NULL }; |