summaryrefslogtreecommitdiff
path: root/libbcachefs/opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbcachefs/opts.c')
-rw-r--r--libbcachefs/opts.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libbcachefs/opts.c b/libbcachefs/opts.c
index 94d6c044..afe25cd2 100644
--- a/libbcachefs/opts.c
+++ b/libbcachefs/opts.c
@@ -45,12 +45,9 @@ const char * const bch2_str_hash_types[] = {
};
const char * const bch2_data_types[] = {
- "none",
- "sb",
- "journal",
- "btree",
- "data",
- "cached",
+#define x(t, n) #t,
+ BCH_DATA_TYPES()
+#undef x
NULL
};