summaryrefslogtreecommitdiff
path: root/drivers/md/bcache/opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/bcache/opts.h')
-rw-r--r--drivers/md/bcache/opts.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/md/bcache/opts.h b/drivers/md/bcache/opts.h
index 202f4aebae96..70df232c5892 100644
--- a/drivers/md/bcache/opts.h
+++ b/drivers/md/bcache/opts.h
@@ -48,18 +48,21 @@ LE64_BITMASK(NO_SB_OPT, struct cache_sb, flags, 0, 0);
CACHE_SET_OPT(fix_errors, \
bch_bool_opt, 0, 2, \
NO_SB_OPT, true) \
- CACHE_SET_SB_OPTS()
-
-#define CACHE_SET_OPTS() \
- CACHE_SET_OPT(read_only, \
+ CACHE_SET_OPT(nochanges, \
bch_bool_opt, 0, 2, \
NO_SB_OPT, 0) \
- CACHE_SET_OPT(nochanges, \
+ CACHE_SET_OPT(noreplay, \
bch_bool_opt, 0, 2, \
NO_SB_OPT, 0) \
CACHE_SET_OPT(norecovery, \
bch_bool_opt, 0, 2, \
NO_SB_OPT, 0) \
+ CACHE_SET_SB_OPTS()
+
+#define CACHE_SET_OPTS() \
+ CACHE_SET_OPT(read_only, \
+ bch_bool_opt, 0, 2, \
+ NO_SB_OPT, 0) \
CACHE_SET_VISIBLE_OPTS()
struct cache_set_opts {