mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
bcachefs: Silence transaction restart error message
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
1e3b40980b
commit
a190cbcfa0
|
|
@ -971,10 +971,10 @@ static int check_inode(struct btree_trans *trans,
|
|||
|
||||
if (do_update) {
|
||||
ret = __write_inode(trans, &u, iter->pos.snapshot);
|
||||
if (ret) {
|
||||
if (ret && !bch2_err_matches(ret, BCH_ERR_transaction_restart))
|
||||
bch_err_msg(c, ret, "in fsck updating inode");
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
err:
|
||||
fsck_err:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user