diff options
author | 2012-12-01 10:55:45 +0900 | |
---|---|---|
committer | 2012-12-11 13:43:43 +0900 | |
commit | 154a086529b50236782a2d4365a1d1c359adc7af (patch) | |
tree | 2b73f5367f8f4b20f27f03827f4fb52da287cbb7 /fs/f2fs/super.c | |
parent | f2fs: show error in case of invalid mount arguments (diff) | |
download | linux-154a086529b50236782a2d4365a1d1c359adc7af.tar.gz linux-154a086529b50236782a2d4365a1d1c359adc7af.tar.bz2 linux-154a086529b50236782a2d4365a1d1c359adc7af.zip |
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); } |