Skip to content

Commit fbf913c

Browse files
alanskindKent Overstreet
authored andcommitted
bcachefs: Fix incorrect transaction restart handling
Reported-by: [email protected] Signed-off-by: Alan Huang <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
1 parent 14da585 commit fbf913c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/fsck.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2819,7 +2819,7 @@ static int check_path_loop(struct btree_trans *trans, struct bkey_s_c inode_k)
28192819
ret = remove_backpointer(trans, &inode);
28202820
bch_err_msg(c, ret, "removing dirent");
28212821
if (ret)
2822-
break;
2822+
goto out;
28232823

28242824
ret = reattach_inode(trans, &inode);
28252825
bch_err_msg(c, ret, "reattaching inode %llu", inode.bi_inum);

0 commit comments

Comments
 (0)