From e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 21 Jul 2023 05:38:45 -0400 Subject: bcachefs: Consolidate btree id properties This refactoring centralizes defining per-btree properties. bch2_key_types_allowed was also about to overflow a u32, so expand that to a u64. Signed-off-by: Kent Overstreet --- fs/bcachefs/opts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/bcachefs/opts.c') diff --git a/fs/bcachefs/opts.c b/fs/bcachefs/opts.c index 56f586f8d25b..3a6fd1d96ed2 100644 --- a/fs/bcachefs/opts.c +++ b/fs/bcachefs/opts.c @@ -10,7 +10,7 @@ #include "super-io.h" #include "util.h" -#define x(t, n) [n] = #t, +#define x(t, n, ...) [n] = #t, const char * const bch2_error_actions[] = { BCH_ERROR_ACTIONS() -- cgit v1.2.3