Whamcloud - gitweb
LU-4924 llite: Only kill SGID/SUID bits 53/10153/3
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 29 Apr 2014 20:24:59 +0000 (16:24 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 13 May 2014 14:43:42 +0000 (14:43 +0000)
commit1504473051df3d20e824f1064ee134501f3856e8
treedc8448143b299fe45fccd99c2c2a3166495b495f
parentff8087913c579daac8ba620cbb3aa45277b7cd18
LU-4924 llite: Only kill SGID/SUID bits

Check that attr mode is valid before using it when determining if to
clear SGID and SUID bits in ll_setattr.
Add regression test.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ic452590a6fb59010f1ee6b8b0b790557a2540d8c
Reviewed-on: http://review.whamcloud.com/10153
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/llite/llite_lib.c
lustre/tests/Makefile.am
lustre/tests/acl/4924.test [new file with mode: 0644]
lustre/tests/sanity.sh