]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Add S_NOSEC support
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 16 Jun 2011 13:06:55 +0000 (14:06 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 15 Jul 2011 08:32:35 +0000 (09:32 +0100)
commit1d453072e8fe50f06f032d6ea5edf459a8677936
treec0877e423f5dff8b722869bd3f21622a88889220
parent47d10158cde782fbab04c4963b8b2f2f40d6f614
GFS2: Add S_NOSEC support

This adds S_NOSEC support to GFS2. We set/reset the flag either when
a user calls setattr or when we have just regained the glock
from another node. The flag is only set if there are no xattrs
on the inode and there is no suid bit set.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
fs/gfs2/file.c
fs/gfs2/glops.c
fs/gfs2/ops_fstype.c