From: Linus Torvalds Date: Sun, 22 Feb 2026 22:41:11 +0000 (-0800) Subject: Convert 'alloc_obj' family to use the new default GFP_KERNEL argument X-Git-Tag: v7.0.0~68 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e89513b094c0abb790ed6d735249900a0b269219;p=xfsprogs-dev.git Convert 'alloc_obj' family to use the new default GFP_KERNEL argument Source kernel commit: bf4afc53b77aeaa48b5409da5c8da6bb4eff7f43 This was done entirely with mindless brute force, using git grep -l '\ --- diff --git a/libxfs/xfs_ag.c b/libxfs/xfs_ag.c index 0f1eaf5d..5742d59a 100644 --- a/libxfs/xfs_ag.c +++ b/libxfs/xfs_ag.c @@ -222,7 +222,7 @@ xfs_perag_alloc( struct xfs_perag *pag; int error; - pag = kzalloc_obj(*pag, GFP_KERNEL); + pag = kzalloc_obj(*pag); if (!pag) return -ENOMEM; diff --git a/libxfs/xfs_rtgroup.c b/libxfs/xfs_rtgroup.c index 69e71494..d127ac0d 100644 --- a/libxfs/xfs_rtgroup.c +++ b/libxfs/xfs_rtgroup.c @@ -95,7 +95,7 @@ xfs_rtgroup_alloc( struct xfs_rtgroup *rtg; int error; - rtg = kzalloc_obj(struct xfs_rtgroup, GFP_KERNEL); + rtg = kzalloc_obj(struct xfs_rtgroup); if (!rtg) return -ENOMEM;