Skip to content

Commit cecc328

Browse files
author
Kent Overstreet
committed
bcachefs: fix missing bch2_err_str()
Signed-off-by: Kent Overstreet <[email protected]>
1 parent b8db1bd commit cecc328

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

fs/bcachefs/fsck.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2469,8 +2469,7 @@ static int check_path(struct btree_trans *trans, pathbuf *p, struct bkey_s_c ino
24692469
: bch2_inode_unpack(inode_k, &inode);
24702470
if (ret) {
24712471
/* Should have been caught in dirents pass */
2472-
if (!bch2_err_matches(ret, BCH_ERR_transaction_restart))
2473-
bch_err(c, "error looking up parent directory: %i", ret);
2472+
bch_err_msg(c, ret, "error looking up parent directory");
24742473
break;
24752474
}
24762475

0 commit comments

Comments
 (0)