summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/bcachefs.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-11-27 09:00:54 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-12-21 07:36:20 +0100
commit9963a14da1091c114764bec8723cf81677ca691e (patch)
treea5b750a82d594898983342e3fa26779cb05ede8c /fs/bcachefs/bcachefs.h
parentbcachefs: Make topology errors autofix (diff)
downloadlinux-9963a14da1091c114764bec8723cf81677ca691e.tar.xz
linux-9963a14da1091c114764bec8723cf81677ca691e.zip
bcachefs: BCH_FS_recovery_running
If we're autofixing topology errors, we shouldn't shutdown if we're still in recovery. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/bcachefs.h')
-rw-r--r--fs/bcachefs/bcachefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/bcachefs.h b/fs/bcachefs/bcachefs.h
index a85b3bcc6383..d88129503bc5 100644
--- a/fs/bcachefs/bcachefs.h
+++ b/fs/bcachefs/bcachefs.h
@@ -614,6 +614,7 @@ struct bch_dev {
x(going_ro) \
x(write_disable_complete) \
x(clean_shutdown) \
+ x(recovery_running) \
x(fsck_running) \
x(initial_gc_unfixed) \
x(need_delete_dead_snapshots) \