From: Darrick J. Wong Date: Fri, 5 Dec 2025 15:01:35 +0000 (+0100) Subject: xfs: remove deprecated sysctl knobs X-Git-Tag: v6.18.0~42 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4b08d653fb25c0c3a2363da8049a70f1db3c3a0f;p=xfsprogs-dev.git xfs: remove deprecated sysctl knobs Source kernel commit: 21d59d00221e4ecbcb597eec0021c667477d3335 These sysctl knobs were scheduled for removal in September 2025. That time has come, so remove them. Signed-off-by: Darrick J. Wong Reviewed-by: Carlos Maiolino Reviewed-by: Christoph Hellwig Signed-off-by: Andrey Albershteyn --- diff --git a/libxfs/xfs_inode_util.c b/libxfs/xfs_inode_util.c index 2a7988d7..85d4af41 100644 --- a/libxfs/xfs_inode_util.c +++ b/libxfs/xfs_inode_util.c @@ -296,17 +296,6 @@ xfs_inode_init( } else { inode_init_owner(args->idmap, inode, dir, args->mode); } - - /* - * If the group ID of the new file does not match the effective - * group ID or one of the supplementary group IDs, the S_ISGID - * bit is cleared (and only if the irix_sgid_inherit - * compatibility variable is set). - */ - if (irix_sgid_inherit && (inode->i_mode & S_ISGID) && - !vfsgid_in_group_p(i_gid_into_vfsgid(args->idmap, inode))) - inode->i_mode &= ~S_ISGID; - ip->i_projid = xfs_get_initial_prid(pip); }