summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-12-03 16:40:28 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2014-12-03 16:40:28 -0800
commit4634d71ed190c99e42ebee450f9a6897d20ee22c (patch)
treecfa588b71e28ed00eb46af574544f15e64192614
parent7dda2af83b2b7593458828d4f15443167b3da8c4 (diff)
downloadlinux-4634d71ed190c99e42ebee450f9a6897d20ee22c.tar.gz
linux-4634d71ed190c99e42ebee450f9a6897d20ee22c.tar.bz2
linux-4634d71ed190c99e42ebee450f9a6897d20ee22c.zip
f2fs: fix missing kmem_cache_free
This patch fixes missing kmem_cache_free when handling errors. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
-rw-r--r--fs/f2fs/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index b1466cf79d07..c59341d5539c 100644
--- 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;
}
}