diff options
author | Chao Yu <chao2.yu@samsung.com> | 2013-12-05 09:54:00 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-12-23 10:18:05 +0900 |
commit | a0acdfe05a954363861a65eb537573ab417cb7ed (patch) | |
tree | 9901ea8baa663d6ea4e9360863fba08788f07f65 /fs/f2fs/super.c | |
parent | 40e1ebe97d58b141332e895facf9e69b8b430ae1 (diff) | |
download | op-kernel-dev-a0acdfe05a954363861a65eb537573ab417cb7ed.zip op-kernel-dev-a0acdfe05a954363861a65eb537573ab417cb7ed.tar.gz |
f2fs: use inner macro GFP_F2FS_ZERO for simplification
Use inner macro GFP_F2FS_ZERO to instead of GFP_NOFS | __GFP_ZERO for
simplification of code.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/super.c')
-rw-r--r-- | fs/f2fs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index dd55074..22b07c3 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -332,7 +332,7 @@ static struct inode *f2fs_alloc_inode(struct super_block *sb) { struct f2fs_inode_info *fi; - fi = kmem_cache_alloc(f2fs_inode_cachep, GFP_NOFS | __GFP_ZERO); + fi = kmem_cache_alloc(f2fs_inode_cachep, GFP_F2FS_ZERO); if (!fi) return NULL; |