Skip to content

Commit 3e878fe

Browse files
author
Kent Overstreet
committed
bcachefs: add missing inode_walker_exit()
fix a small leak Signed-off-by: Kent Overstreet <[email protected]>
1 parent 87313ac commit 3e878fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/bcachefs/fsck.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,6 +2215,8 @@ int bch2_check_xattrs(struct bch_fs *c)
22152215
NULL, NULL,
22162216
BCH_TRANS_COMMIT_no_enospc,
22172217
check_xattr(trans, &iter, k, &hash_info, &inode)));
2218+
2219+
inode_walker_exit(&inode);
22182220
bch_err_fn(c, ret);
22192221
return ret;
22202222
}

0 commit comments

Comments
 (0)