f2fs: fix to avoid triggering IO in write path
authorChao Yu <yuchao0@huawei.com>
Tue, 18 Feb 2020 10:21:35 +0000 (18:21 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 19 Mar 2020 18:41:26 +0000 (11:41 -0700)
commit0683728adab251d7747ce61279e249944effa78d
tree6133f5aa597cb8f5fb53311ea0efa69199186229
parent985100035ef5a78889bd2295d1cd91000b133846
f2fs: fix to avoid triggering IO in write path

If we are in write IO path, we need to avoid using GFP_KERNEL.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c
fs/f2fs/data.c
fs/f2fs/f2fs.h