diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-21 05:38:45 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:09 -0400 |
commit | e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9 (patch) | |
tree | f55fb22cef81b008c3e778adaf77e3988b16f956 /fs/bcachefs/opts.c | |
parent | 85beefefd2f8c0d8fa0a93660b0a1676073c57dc (diff) | |
download | linux-e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9.tar.gz linux-e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9.tar.bz2 linux-e8d2fe3b4bfad1c902f9b0acea1edc8d5291deb9.zip |
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() |