summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2015-01-07 10:47:57 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2015-01-09 17:02:28 -0800
commit7aed0d45376e531330cf20af581a76edc0347d06 (patch)
treee5462eff4888835a52f98bf5a431e2054f92a853 /fs/f2fs/node.h
parentdf1991391f9301efbd5e46fb776bf5103d4c59f8 (diff)
downloadlinux-7aed0d45376e531330cf20af581a76edc0347d06.tar.gz
linux-7aed0d45376e531330cf20af581a76edc0347d06.tar.bz2
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 'fs/f2fs/node.h')
-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