summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-01-07 19:47:57 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-10 02:02:28 +0100
commit7aed0d45376e531330cf20af581a76edc0347d06 (patch)
treee5462eff4888835a52f98bf5a431e2054f92a853 /fs/f2fs/node.h
parentf2fs: fix wrong unlock_page call (diff)
downloadlinux-7aed0d45376e531330cf20af581a76edc0347d06.tar.xz
linux-7aed0d45376e531330cf20af581a76edc0347d06.zip
f2fs: free radix_tree_nodes used by nat_set entries
In the normal case, the radix_tree_nodes are freed successfully. But, when cp_error was detected, we should destroy them forcefully. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to '')
-rw-r--r--fs/f2fs/node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h
index cac8a3d9acbd..f405bbf2435a 100644
--- a/fs/f2fs/node.h
+++ b/fs/f2fs/node.h
@@ -25,6 +25,7 @@
/* vector size for gang look-up from nat cache that consists of radix tree */
#define NATVEC_SIZE 64
+#define SETVEC_SIZE 32
/* return value for read_node_page */
#define LOCKED_PAGE 1