summaryrefslogtreecommitdiff
path: root/fs/erofs/utils.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/utils.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/utils.c')
-rw-r--r--fs/erofs/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/erofs/utils.c b/fs/erofs/utils.c
index 5dea308764b4..e146d09151af 100644
--- a/fs/erofs/utils.c
+++ b/fs/erofs/utils.c
@@ -81,7 +81,7 @@ struct erofs_workgroup *erofs_insert_workgroup(struct super_block *sb,
repeat:
xa_lock(&sbi->managed_pslots);
pre = __xa_cmpxchg(&sbi->managed_pslots, grp->index,
- NULL, grp, GFP_NOFS);
+ NULL, grp, GFP_KERNEL);
if (pre) {
if (xa_is_err(pre)) {
pre = ERR_PTR(xa_err(pre));