]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
xfs: remove deprecated sysctl knobs
authorDarrick J. Wong <djwong@kernel.org>
Fri, 5 Dec 2025 15:01:35 +0000 (16:01 +0100)
committerAndrey Albershteyn <aalbersh@kernel.org>
Mon, 8 Dec 2025 17:03:15 +0000 (18:03 +0100)
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 <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org>
libxfs/xfs_inode_util.c

index 2a7988d774b88aa9826898997f9b5ad261551c29..85d4af41d56de53af15176c8d1aece5835bc53bb 100644 (file)
@@ -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);
        }