summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/opts.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-29 01:53:05 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:10:05 +0200
commite3804b55e4358cf5a235fa1ba32204af9f7046dd (patch)
treeb1946b7b645d8de6409aa6f7dfda63fcfd7e6f34 /fs/bcachefs/opts.c
parentbcachefs: Kill BTREE_INSERT_USE_RESERVE (diff)
downloadlinux-e3804b55e4358cf5a235fa1ba32204af9f7046dd.tar.xz
linux-e3804b55e4358cf5a235fa1ba32204af9f7046dd.zip
bcachefs: bch2_version_to_text()
Add a new helper for printing out metadata versions in a standard format. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.c')
-rw-r--r--fs/bcachefs/opts.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c
index 04e2989cd6b3..a05c389830dc 100644
--- a/fs/bcachefs/opts.c
+++ b/fs/bcachefs/opts.c
@@ -11,11 +11,6 @@
#define x(t, n) [n] = #t,
-const char * const bch2_metadata_versions[] = {
- BCH_METADATA_VERSIONS()
- NULL
-};
-
const char * const bch2_error_actions[] = {
BCH_ERROR_ACTIONS()
NULL