mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-07 23:28:55 +00:00
f2fs: fix missing kmem_cache_free
This patch fixes missing kmem_cache_free when handling errors. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
This commit is contained in:
parent
7dda2af83b
commit
4634d71ed1
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ retry:
|
||||||
head->entry_cnt = 0;
|
head->entry_cnt = 0;
|
||||||
|
|
||||||
if (radix_tree_insert(&nm_i->nat_set_root, set, head)) {
|
if (radix_tree_insert(&nm_i->nat_set_root, set, head)) {
|
||||||
cond_resched();
|
kmem_cache_free(nat_entry_set_slab, head);
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue