summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2013-12-05 02:54:00 +0100
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-12-23 02:18:05 +0100
commita0acdfe05a954363861a65eb537573ab417cb7ed (patch)
tree9901ea8baa663d6ea4e9360863fba08788f07f65 /fs/f2fs/node.c
parentf2fs: replace the debugfs_root with f2fs_debugfs_root (diff)
downloadlinux-a0acdfe05a954363861a65eb537573ab417cb7ed.tar.xz
linux-a0acdfe05a954363861a65eb537573ab417cb7ed.zip
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/node.c')
-rw-r--r--fs/f2fs/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index 0855168af7d7..099f06f84e29 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -1577,7 +1577,7 @@ static int ra_sum_pages(struct f2fs_sb_info *sbi, struct list_head *pages,
for (; page_idx < start + nrpages; page_idx++) {
/* alloc temporal page for read node summary info*/
- page = alloc_page(GFP_NOFS | __GFP_ZERO);
+ page = alloc_page(GFP_F2FS_ZERO);
if (!page) {
struct page *tmp;
list_for_each_entry_safe(page, tmp, pages, lru) {