mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-23 17:41:24 -05:00
bcachefs: Filter out harmless EROFS error messages
These just indicate that we're shutting down. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
@@ -784,7 +784,8 @@ static int __bch2_move_data_phys(struct moving_context *ctxt,
|
||||
goto err;
|
||||
|
||||
ret = bch2_btree_write_buffer_tryflush(trans);
|
||||
bch_err_msg(c, ret, "flushing btree write buffer");
|
||||
if (!bch2_err_matches(ret, EROFS))
|
||||
bch_err_msg(c, ret, "flushing btree write buffer");
|
||||
if (ret)
|
||||
goto err;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user