diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2012-05-04 13:33:06 (GMT) |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2012-05-04 13:33:06 (GMT) |
commit | f9425ad4e5c8f8f9f6297d0358dc44ca058ffe47 (patch) | |
tree | 5fad05178af7a4e2ccd21d63938a3559a60a353f /fs/xfs/xfs_bit.h | |
parent | c0752aa7e4d48cc19e167ccb0092bea8e5b6ca3a (diff) | |
download | linux-fsl-qoriq-f9425ad4e5c8f8f9f6297d0358dc44ca058ffe47.tar.xz |
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 <swhiteho@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_bit.h')
0 files changed, 0 insertions, 0 deletions