aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2012-11-30 20:55:45 -0500
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2012-12-10 23:43:43 -0500
commit154a086529b50236782a2d4365a1d1c359adc7af (patch)
tree2b73f5367f8f4b20f27f03827f4fb52da287cbb7 /fs/f2fs
parent72ce6094c0d3c1f0025eb118bb9406206f277479 (diff)
f2fs: remove unneeded memset from init_once
Since, __GFP_ZERO is used while f2fs inode allocation, so we do not need memset for f2fs_inode_info, as this is already zeroed out. Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/super.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c
index 5830e537c376..13867322cf5a 100644
--- a/fs/f2fs/super.c
+++ b/fs/f2fs/super.c
@@ -57,7 +57,6 @@ static void init_once(void *foo)
57{ 57{
58 struct f2fs_inode_info *fi = (struct f2fs_inode_info *) foo; 58 struct f2fs_inode_info *fi = (struct f2fs_inode_info *) foo;
59 59
60 memset(fi, 0, sizeof(*fi));
61 inode_init_once(&fi->vfs_inode); 60 inode_init_once(&fi->vfs_inode);
62} 61}
63 62