summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorNamjae Jeon <namjae.jeon@samsung.com>2012-12-01 10:55:45 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2012-12-11 13:43:43 +0900
commit154a086529b50236782a2d4365a1d1c359adc7af (patch)
tree2b73f5367f8f4b20f27f03827f4fb52da287cbb7 /fs/f2fs
parent72ce6094c0d3c1f0025eb118bb9406206f277479 (diff)
downloadlinux-154a086529b50236782a2d4365a1d1c359adc7af.tar.bz2
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)
{
struct f2fs_inode_info *fi = (struct f2fs_inode_info *) foo;
- memset(fi, 0, sizeof(*fi));
inode_init_once(&fi->vfs_inode);
}