Commit a190cbcf authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Silence transaction restart error message

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 1e3b4098
...@@ -971,10 +971,10 @@ static int check_inode(struct btree_trans *trans, ...@@ -971,10 +971,10 @@ static int check_inode(struct btree_trans *trans,
if (do_update) { if (do_update) {
ret = __write_inode(trans, &u, iter->pos.snapshot); 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"); bch_err_msg(c, ret, "in fsck updating inode");
if (ret)
return ret; return ret;
}
} }
err: err:
fsck_err: fsck_err:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment