diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-03-20 23:34:11 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:28 -0400 |
commit | 74b33393db54dd321c807c621fad966eb9ec54e5 (patch) | |
tree | 598e0c8ae9467a2b7629670e09db36b66979ae1c /fs/bcachefs/opts.h | |
parent | 3a306f3c2c303febffefea4caf09b2326107507a (diff) | |
download | linux-stable-74b33393db54dd321c807c621fad966eb9ec54e5.tar.gz linux-stable-74b33393db54dd321c807c621fad966eb9ec54e5.tar.bz2 linux-stable-74b33393db54dd321c807c621fad966eb9ec54e5.zip |
bcachefs: x-macro metadata version enum
Now we've got strings for metadata versions - this changes
bch2_sb_to_text() and our mount log message to use it.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/opts.h')
-rw-r--r-- | fs/bcachefs/opts.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/opts.h b/fs/bcachefs/opts.h index fffe3e066864..eeab4bb22597 100644 --- a/fs/bcachefs/opts.h +++ b/fs/bcachefs/opts.h @@ -8,6 +8,7 @@ #include <linux/sysfs.h> #include "bcachefs_format.h" +extern const char * const bch2_metadata_versions[]; extern const char * const bch2_error_actions[]; extern const char * const bch2_sb_features[]; extern const char * const bch2_sb_compat[]; |