diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-06 20:57:43 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-21 06:01:45 -0500 |
commit | e58f963cecbdb08f28334122afba93a7840beabc (patch) | |
tree | 0a5e9dd89fceeb1fbd8550958dfe44d1d7981cad /fs/bcachefs/opts.h | |
parent | 38c23fb809f60bda1adfc431b18200b8f68c2025 (diff) | |
download | linux-stable-e58f963cecbdb08f28334122afba93a7840beabc.tar.gz linux-stable-e58f963cecbdb08f28334122afba93a7840beabc.tar.bz2 linux-stable-e58f963cecbdb08f28334122afba93a7840beabc.zip |
bcachefs: helpers for printing data types
We need bounds checking since new versions may introduce new data types.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r-- | fs/bcachefs/opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h index 93a24fef4214..67e98e00e937 100644 --- a/fs/bcachefs/opts.h +++ b/fs/bcachefs/opts.h @@ -22,7 +22,7 @@ extern const char * const bch2_compression_types[]; extern const char * const bch2_compression_opts[]; extern const char * const bch2_str_hash_types[]; extern const char * const bch2_str_hash_opts[]; -extern const char * const bch2_data_types[]; +extern const char * const __bch2_data_types[]; extern const char * const bch2_member_states[]; extern const char * const bch2_jset_entry_types[]; extern const char * const bch2_fs_usage_types[]; |