diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-21 12:38:45 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:09 +0300 |
commit | e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9 (patch) | |
tree | f55fb22cef81b008c3e778adaf77e3988b16f956 /fs/bcachefs/opts.c | |
parent | 85beefefd2f8c0d8fa0a93660b0a1676073c57dc (diff) | |
download | linux-e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9.tar.xz |
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/opts.c')
-rw-r--r-- | fs/bcachefs/opts.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() |