summaryrefslogtreecommitdiff
path: root/libbcachefs/opts.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-03 16:47:22 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-04-03 17:34:02 -0400
commit5639fb38cabaa326b8b664d874a46509d4a60bf2 (patch)
tree3f3aa73ebc9505bede820ce02d7e8a9bad7dfa08 /libbcachefs/opts.c
parent9f4ed5ce05888b62d1e4417323c553e5d06f4abf (diff)
Update bcachefs sources to 09d4c2acbf4c bcachefs: reconstruct_inode()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'libbcachefs/opts.c')
-rw-r--r--libbcachefs/opts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbcachefs/opts.c b/libbcachefs/opts.c
index 08ea0cfc..e1800c41 100644
--- a/libbcachefs/opts.c
+++ b/libbcachefs/opts.c
@@ -7,6 +7,7 @@
#include "disk_groups.h"
#include "error.h"
#include "opts.h"
+#include "recovery_passes.h"
#include "super-io.h"
#include "util.h"
@@ -205,6 +206,9 @@ const struct bch_option bch2_opt_table[] = {
#define OPT_STR(_choices) .type = BCH_OPT_STR, \
.min = 0, .max = ARRAY_SIZE(_choices), \
.choices = _choices
+#define OPT_STR_NOLIMIT(_choices) .type = BCH_OPT_STR, \
+ .min = 0, .max = U64_MAX, \
+ .choices = _choices
#define OPT_FN(_fn) .type = BCH_OPT_FN, .fn = _fn
#define x(_name, _bits, _flags, _type, _sb_opt, _default, _hint, _help) \