From: Kent Overstreet Date: Thu, 22 Aug 2024 07:57:39 +0000 (-0400) Subject: bcachefs: add missing inode_walker_exit() X-Git-Tag: v6.11-rc5~1^2~3 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3e878fe5a0b139838a65f50a3df3caf3299dbc24;p=linux-2.6-block.git bcachefs: add missing inode_walker_exit() fix a small leak Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/fsck.c b/fs/bcachefs/fsck.c index 6801c37ee803..83bd31b44aad 100644 --- a/fs/bcachefs/fsck.c +++ b/fs/bcachefs/fsck.c @@ -2215,6 +2215,8 @@ int bch2_check_xattrs(struct bch_fs *c) NULL, NULL, BCH_TRANS_COMMIT_no_enospc, check_xattr(trans, &iter, k, &hash_info, &inode))); + + inode_walker_exit(&inode); bch_err_fn(c, ret); return ret; }