summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/opts.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-01-06 20:57:43 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-01-21 06:01:45 -0500
commite58f963cecbdb08f28334122afba93a7840beabc (patch)
tree0a5e9dd89fceeb1fbd8550958dfe44d1d7981cad /fs/bcachefs/opts.c
parent38c23fb809f60bda1adfc431b18200b8f68c2025 (diff)
downloadlinux-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.c')
-rw-r--r--fs/bcachefs/opts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c
index 8e6f230eac38..6aaf78de8845 100644
--- a/fs/bcachefs/opts.c
+++ b/fs/bcachefs/opts.c
@@ -72,7 +72,7 @@ const char * const bch2_str_hash_opts[] = {
NULL
};
-const char * const bch2_data_types[] = {
+const char * const __bch2_data_types[] = {
BCH_DATA_TYPES()
NULL
};