From 5e215654da7e97a6395de6e7592fbaa426697897 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 26 Sep 2023 17:12:51 -0400 Subject: Update bcachefs sources to a1b6677dca57 bcachefs: Fix looping around bch2_propagate_key_to_snapshot_leaves() --- libbcachefs/inode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbcachefs/inode.c') diff --git a/libbcachefs/inode.c b/libbcachefs/inode.c index 8bfd99cb..4a695a8e 100644 --- a/libbcachefs/inode.c +++ b/libbcachefs/inode.c @@ -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; } -- cgit v1.2.3