diff options
author | Yunlong Song <yunlong.song@huawei.com> | 2018-02-28 13:31:52 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-03-13 00:05:03 +0100 |
commit | bdbc90fa55af632f8a883a3d93c54a08708ed80a (patch) | |
tree | 4e1e996cd53466ef89ca975e9a2db86683307818 /samples | |
parent | Merge tag 'powerpc-4.16-4' of git://git.kernel.org/pub/scm/linux/kernel/git/p... (diff) | |
download | linux-bdbc90fa55af632f8a883a3d93c54a08708ed80a.tar.xz linux-bdbc90fa55af632f8a883a3d93c54a08708ed80a.zip |
f2fs: don't put dentry page in pagecache into highmem
Previous dentry page uses highmem, which will cause panic in platforms
using highmem (such as arm), since the address space of dentry pages
from highmem directly goes into the decryption path via the function
fscrypt_fname_disk_to_usr. But sg_init_one assumes the address is not
from highmem, and then cause panic since it doesn't call kmap_high but
kunmap_high is triggered at the end. To fix this problem in a simple
way, this patch avoids to put dentry page in pagecache into highmem.
Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: fix coding style]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions