summaryrefslogtreecommitdiff
path: root/fs/bcachefs/opts.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-04-05 04:57:35 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:54 +0300
commit19dd3172b0002a3a5f8ead324db03a72c0cac2a2 (patch)
treed0162724c9802b1676f30310b2101882c73b5a81 /fs/bcachefs/opts.h
parent33a391a2551beca12926c77b16404f6aab2e8f58 (diff)
downloadlinux-19dd3172b0002a3a5f8ead324db03a72c0cac2a2.tar.xz
bcachefs: Use x-macros for compat feature bits
This is to generate strings for them, so that we can print them out. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r--fs/bcachefs/opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h
index 01282314bacb..d2b3549a33af 100644
--- a/fs/bcachefs/opts.h
+++ b/fs/bcachefs/opts.h
@@ -10,6 +10,7 @@
extern const char * const bch2_error_actions[];
extern const char * const bch2_sb_features[];
+extern const char * const bch2_sb_compat[];
extern const char * const bch2_csum_opts[];
extern const char * const bch2_compression_opts[];
extern const char * const bch2_str_hash_types[];