mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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 <[email protected]> Signed-off-by: Amit Sahrawat <[email protected]>
This commit is contained in:
parent
72ce6094c0
commit
154a086529
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue