Skip to content

Commit 37fd6b8

Browse files
author
Kent Overstreet
committed
bcachefs: rebalance, copygc enabled are runtime opts
Fix a regression from when these were switched to normal opts.h options. Signed-off-by: Kent Overstreet <[email protected]>
1 parent 2efbc35 commit 37fd6b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/bcachefs/opts.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,13 +476,13 @@ enum fsck_err_opts {
476476
NULL, "Enable nocow mode: enables runtime locking in\n"\
477477
"data move path needed if nocow will ever be in use\n")\
478478
x(copygc_enabled, u8, \
479-
OPT_FS|OPT_MOUNT, \
479+
OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
480480
OPT_BOOL(), \
481481
BCH2_NO_SB_OPT, true, \
482482
NULL, "Enable copygc: disable for debugging, or to\n"\
483483
"quiet the system when doing performance testing\n")\
484484
x(rebalance_enabled, u8, \
485-
OPT_FS|OPT_MOUNT, \
485+
OPT_FS|OPT_MOUNT|OPT_RUNTIME, \
486486
OPT_BOOL(), \
487487
BCH2_NO_SB_OPT, true, \
488488
NULL, "Enable rebalance: disable for debugging, or to\n"\

0 commit comments

Comments
 (0)