Skip to content

Commit 473f09f

Browse files
author
Kent Overstreet
committed
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>
1 parent 9c61856 commit 473f09f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/errcode.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269
x(BCH_ERR_invalid_sb, invalid_sb_downgrade) \
270270
x(BCH_ERR_invalid, invalid_bkey) \
271271
x(BCH_ERR_operation_blocked, nocow_lock_blocked) \
272-
x(EIO, journal_shutdown) \
272+
x(EROFS, journal_shutdown) \
273273
x(EIO, journal_flush_err) \
274274
x(EIO, journal_write_err) \
275275
x(EIO, btree_node_read_err) \

0 commit comments

Comments
 (0)