Commit 3e878fe5 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: add missing inode_walker_exit()



fix a small leak

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 87313ac1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
}