From: Steven Whitehouse Date: Fri, 4 May 2012 13:33:06 +0000 (+0100) Subject: GFS2: Fix sgid propagation when using ACLs X-Git-Tag: v3.5-rc1~168^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9425ad4e5c8f8f9f6297d0358dc44ca058ffe47;p=pandora-kernel.git GFS2: Fix sgid propagation when using ACLs This cleans up the mode setting code when creating inodes. The SGID bit was being reset by setattr_copy() when the user creating a subdirectory was not in the owning group. When ACLs are in use this SGID bit should have been propagated if the ACL allows creation of a subdirectory. GFS2's behaviour now matches that of the other ACL supporting filesystems in this regard. Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed