projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f7acda
)
staging: erofs: drop __GFP_NOFAIL for managed inode
author
Gao Xiang
<gaoxiang25@huawei.com>
Wed, 31 Jul 2019 15:57:42 +0000
(23:57 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 11:52:06 +0000
(13:52 +0200)
For historical reasons, __GFP_NOFAIL was set for managed inode.
It's no need using that since EROFS can handle it properly.
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Link:
https://lore.kernel.org/r/20190731155752.210602-13-gaoxiang25@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/erofs/super.c
patch
|
blob
|
history
diff --git
a/drivers/staging/erofs/super.c
b/drivers/staging/erofs/super.c
index
7c31030
..
af5d877
100644
(file)
--- a/
drivers/staging/erofs/super.c
+++ b/
drivers/staging/erofs/super.c
@@
-356,8
+356,7
@@
static int erofs_init_managed_cache(struct super_block *sb)
inode->i_mapping->a_ops = &managed_cache_aops;
mapping_set_gfp_mask(inode->i_mapping,
- GFP_NOFS | __GFP_HIGHMEM |
- __GFP_MOVABLE | __GFP_NOFAIL);
+ GFP_NOFS | __GFP_HIGHMEM | __GFP_MOVABLE);
sbi->managed_cache = inode;
return 0;
}