aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-05-06 00:22:26 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-05-07 16:58:26 -0400
commit473f09f362e5979efbff40c9bbce58892ad39d66 (patch)
treec112a345a2dc73727d7c4a4777d7e22c3f429d41
parentbcachefs: Call bch2_fs_start before getting vfs superblock (diff)
downloadwireguard-linux-473f09f362e5979efbff40c9bbce58892ad39d66.tar.xz
wireguard-linux-473f09f362e5979efbff40c9bbce58892ad39d66.zip
bcachefs: journal_shutdown is EROFS, not EIO
We often filter out EROFS errors to avoid log spew after an emergency shutdown - journal_shutdown is just another emergency shutdown error. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--fs/bcachefs/errcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h
index a615e4852ded..d9ebffa5b3a2 100644
--- a/fs/bcachefs/errcode.h
+++ b/fs/bcachefs/errcode.h
@@ -269,7 +269,7 @@
x(BCH_ERR_invalid_sb, invalid_sb_downgrade) \
x(BCH_ERR_invalid, invalid_bkey) \
x(BCH_ERR_operation_blocked, nocow_lock_blocked) \
- x(EIO, journal_shutdown) \
+ x(EROFS, journal_shutdown) \
x(EIO, journal_flush_err) \
x(EIO, journal_write_err) \
x(EIO, btree_node_read_err) \