summaryrefslogtreecommitdiff
path: root/fs/erofs/fscache.c
diff options
context:
space:
mode:
authorJingbo Xu <jefflexu@linux.alibaba.com>2024-01-24 06:19:45 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2024-01-25 06:24:19 +0300
commit97cf5d53b4812dcb52c13fda700dad5aa8d3446c (patch)
treebeaed900b0b7a1c83c466b2717e22cd97e6855ca /fs/erofs/fscache.c
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-97cf5d53b4812dcb52c13fda700dad5aa8d3446c.tar.xz
erofs: get rid of unneeded GFP_NOFS
Clean up some leftovers since there is no way for EROFS to be called again from a reclaim context. Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com> Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20240124031945.130782-1-jefflexu@linux.alibaba.com Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/fscache.c')
-rw-r--r--fs/erofs/fscache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/fscache.c b/fs/erofs/fscache.c
index bc12030393b2..5ff90026fd43 100644
--- a/fs/erofs/fscache.c
+++ b/fs/erofs/fscache.c
@@ -459,7 +459,7 @@ static struct erofs_fscache *erofs_fscache_acquire_cookie(struct super_block *sb
inode->i_size = OFFSET_MAX;
inode->i_mapping->a_ops = &erofs_fscache_meta_aops;
- mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS);
+ mapping_set_gfp_mask(inode->i_mapping, GFP_KERNEL);
inode->i_blkbits = EROFS_SB(sb)->blkszbits;
inode->i_private = ctx;