diff options
author | Jingbo Xu <jefflexu@linux.alibaba.com> | 2024-01-24 11:19:45 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2024-01-25 11:24:19 +0800 |
commit | 97cf5d53b4812dcb52c13fda700dad5aa8d3446c (patch) | |
tree | beaed900b0b7a1c83c466b2717e22cd97e6855ca /fs/erofs/utils.c | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
download | lwn-97cf5d53b4812dcb52c13fda700dad5aa8d3446c.tar.gz lwn-97cf5d53b4812dcb52c13fda700dad5aa8d3446c.zip |
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.c | 2 |
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)); |