projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f4460c
)
f2fs: set GFP_NOFS when moving inline dentries
author
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 4 Dec 2019 03:07:53 +0000
(19:07 -0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Thu, 12 Dec 2019 21:24:34 +0000
(13:24 -0800)
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>
fs/f2fs/inline.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/inline.c
b/fs/f2fs/inline.c
index
896db04
..
52f85ed
100644
(file)
--- 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,
fals
e);
+ page = f2fs_grab_cache_page(dir->i_mapping, 0,
tru
e);
if (!page) {
f2fs_put_page(ipage, 1);
return -ENOMEM;