mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-22 10:31:08 +00:00
bcachefs: Suppress transaction restart err message
This isn't a real error, and doesn't need to be printed. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
7635e1a6d6
commit
51fe0332b1
1 changed files with 2 additions and 2 deletions
|
@ -954,11 +954,11 @@ static int check_inode(struct btree_trans *trans,
|
|||
iter->pos.snapshot),
|
||||
POS(u.bi_inum, U64_MAX),
|
||||
0, NULL);
|
||||
if (ret) {
|
||||
if (ret && !bch2_err_matches(ret, BCH_ERR_transaction_restart))
|
||||
bch_err(c, "error in fsck: error truncating inode: %s",
|
||||
bch2_err_str(ret));
|
||||
if (ret)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* We truncated without our normal sector accounting hook, just
|
||||
|
|
Loading…
Reference in a new issue