diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-22 03:57:39 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-22 10:04:41 -0400 |
commit | 3e878fe5a0b139838a65f50a3df3caf3299dbc24 (patch) | |
tree | eec7956eb8e090201d59732838b14047b7a7b97c /fs/bcachefs | |
parent | 87313ac1f134d6ee1e7c858da8bdea9147b537a9 (diff) | |
download | lwn-3e878fe5a0b139838a65f50a3df3caf3299dbc24.tar.gz lwn-3e878fe5a0b139838a65f50a3df3caf3299dbc24.zip |
bcachefs: add missing inode_walker_exit()
fix a small leak
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs')
-rw-r--r-- | fs/bcachefs/fsck.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |