]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fix to use highmem for pages of newly created directory
authorChao Yu <chao2.yu@samsung.com>
Sat, 7 Feb 2015 09:36:15 +0000 (17:36 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 01:04:45 +0000 (17:04 -0800)
commit3a262095ecbf76e7e543d26f735d1e4acd07d51a
tree800c89367fe13d057a9628d8858eea5829d3eb2b
parenta25e1e6f765378dd632558746d9934679a631954
f2fs: fix to use highmem for pages of newly created directory

In commit e580e5370da6 ("f2fs: use highmem for directory pages"), we have set
__GFP_HIGHMEM into dir mapping's gfp flag in f2fs_iget, so high address memory
could be used for these existing dir's page.

But we forgot to set flag for newly created dir, due to this reason, our newly
created dir pages could not be allocated from high address memory. Fix it.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/namei.c