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:
Gao Xiang 2019-07-31 23:57:42 +08:00 committed by Greg Kroah-Hartman
parent 8f7acdae2c
commit 8494c29ffe
1 changed files with 1 additions and 2 deletions

View File

@ -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;
} }