projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dda2af
)
f2fs: fix missing kmem_cache_free
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 4 Dec 2014 00:40:28 +0000
(16:40 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 4 Dec 2014 00:40:28 +0000
(16:40 -0800)
This patch fixes missing kmem_cache_free when handling errors.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/node.c
b/fs/f2fs/node.c
index b1466cf79d07d68ef074598bfa4f9a0cb53378b3..c59341d5539ca76e5a2ea186669506fa943d1170 100644
(file)
--- a/
fs/f2fs/node.c
+++ b/
fs/f2fs/node.c
@@
-158,7
+158,7
@@
retry:
head->entry_cnt = 0;
if (radix_tree_insert(&nm_i->nat_set_root, set, head)) {
-
cond_resched(
);
+
kmem_cache_free(nat_entry_set_slab, head
);
goto retry;
}
}