diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2012-12-01 10:55:45 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2012-12-11 13:43:43 +0900 |
commit | 154a086529b50236782a2d4365a1d1c359adc7af (patch) | |
tree | 2b73f5367f8f4b20f27f03827f4fb52da287cbb7 /fs/f2fs/super.c | |
parent | 72ce6094c0d3c1f0025eb118bb9406206f277479 (diff) | |
download | linux-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/super.c')
-rw-r--r-- | fs/f2fs/super.c | 1 |
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); } |