]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/inode.c
Update bcachefs sources to a1b6677dca57 bcachefs: Fix looping around bch2_propagate_k...
[bcachefs-tools-debian] / libbcachefs / inode.c
index 8bfd99cb7ad149deca66f2998bcecbc4bcc076a1..4a695a8e7a3bdbdd7ac0fbe931c41c9506c8e648 100644 (file)
@@ -357,9 +357,7 @@ int bch2_inode_peek(struct btree_trans *trans,
                    subvol_inum inum, unsigned flags)
 {
        int ret = bch2_inode_peek_nowarn(trans, iter, inode, inum, flags);
-
-       if (ret && !bch2_err_matches(ret, BCH_ERR_transaction_restart))
-               bch_err_msg(trans->c, ret, "looking up inum %u:%llu:", inum.subvol, inum.inum);
+       bch_err_msg(trans->c, ret, "looking up inum %u:%llu:", inum.subvol, inum.inum);
        return ret;
 }