diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-22 09:57:39 +0200 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-08-22 16:04:41 +0200 |
commit | 3e878fe5a0b139838a65f50a3df3caf3299dbc24 (patch) | |
tree | eec7956eb8e090201d59732838b14047b7a7b97c /fs/bcachefs/fsck.c | |
parent | bcachefs: clear path->should_be_locked in bch2_btree_key_cache_drop() (diff) | |
download | linux-3e878fe5a0b139838a65f50a3df3caf3299dbc24.tar.xz linux-3e878fe5a0b139838a65f50a3df3caf3299dbc24.zip |
bcachefs: add missing inode_walker_exit()
fix a small leak
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-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; } |