summaryrefslogtreecommitdiffstats
path: root/include/linux/f2fs_fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim2014-10-18 02:57:29 +0200
committerJaegeuk Kim2014-11-04 01:07:30 +0100
commita78186ebe516b6d7df43636603f0998803ab356a (patch)
tree118a00f17e696cf647b2e4b6140f1d0310bfe5de /include/linux/f2fs_fs.h
parentf2fs: fix race conditon on truncation with inline_data (diff)
downloadkernel-qcow2-linux-a78186ebe516b6d7df43636603f0998803ab356a.tar.gz
kernel-qcow2-linux-a78186ebe516b6d7df43636603f0998803ab356a.tar.xz
kernel-qcow2-linux-a78186ebe516b6d7df43636603f0998803ab356a.zip
f2fs: use highmem for directory pages
This patch fixes to use highmem for directory pages. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/f2fs_fs.h')
-rw-r--r--include/linux/f2fs_fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h
index 860313a33a43..6d7381b41304 100644
--- a/include/linux/f2fs_fs.h
+++ b/include/linux/f2fs_fs.h
@@ -33,7 +33,8 @@
#define F2FS_META_INO(sbi) (sbi->meta_ino_num)
/* This flag is used by node and meta inodes, and by recovery */
-#define GFP_F2FS_ZERO (GFP_NOFS | __GFP_ZERO)
+#define GFP_F2FS_ZERO (GFP_NOFS | __GFP_ZERO)
+#define GFP_F2FS_HIGH_ZERO (GFP_NOFS | __GFP_ZERO | __GFP_HIGHMEM)
/*
* For further optimization on multi-head logs, on-disk layout supports maximum