mirror of https://gitee.com/openkylin/linux.git
staging: erofs: drop __GFP_NOFAIL for managed inode
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>
This commit is contained in:
parent
8f7acdae2c
commit
8494c29ffe
|
@ -356,8 +356,7 @@ static int erofs_init_managed_cache(struct super_block *sb)
|
||||||
|
|
||||||
inode->i_mapping->a_ops = &managed_cache_aops;
|
inode->i_mapping->a_ops = &managed_cache_aops;
|
||||||
mapping_set_gfp_mask(inode->i_mapping,
|
mapping_set_gfp_mask(inode->i_mapping,
|
||||||
GFP_NOFS | __GFP_HIGHMEM |
|
GFP_NOFS | __GFP_HIGHMEM | __GFP_MOVABLE);
|
||||||
__GFP_MOVABLE | __GFP_NOFAIL);
|
|
||||||
sbi->managed_cache = inode;
|
sbi->managed_cache = inode;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue