diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-12-04 04:07:53 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-12-12 22:24:34 +0100 |
commit | dd973007bfefe62c81e84cb6ae0704c73b2b64c9 (patch) | |
tree | 044faff96b8c2daf8703aaaf2b48c10138865d28 /fs/f2fs/inline.c | |
parent | f2fs: should avoid recursive filesystem ops (diff) | |
download | linux-dd973007bfefe62c81e84cb6ae0704c73b2b64c9.tar.xz linux-dd973007bfefe62c81e84cb6ae0704c73b2b64c9.zip |
f2fs: set GFP_NOFS when moving inline dentries
Otherwise, it can cause circular locking dependency reported by mm.
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r-- | fs/f2fs/inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index 896db0416f0e..52f85ed07a15 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -368,7 +368,7 @@ static int f2fs_move_inline_dirents(struct inode *dir, struct page *ipage, struct f2fs_dentry_ptr src, dst; int err; - page = f2fs_grab_cache_page(dir->i_mapping, 0, false); + page = f2fs_grab_cache_page(dir->i_mapping, 0, true); if (!page) { f2fs_put_page(ipage, 1); return -ENOMEM; |