Re: [Cluster-devel] [RFC 11/11] gfs2: Invalide security labels of inodes that go invalid

2015-08-21 Thread Andreas Gruenbacher
Christoph, thanks for your review. 2015-08-21 8:49 GMT+02:00 Christoph Hellwig : > On Thu, Aug 20, 2015 at 08:19:58PM +0200, Andreas Gruenbacher wrote: >> Invalide security labels of inodes when they go invalid. SELinux will reload >> the "security.selinux" xattr via iop->igetxattr on the next a

Re: [Cluster-devel] [RFC 11/11] gfs2: Invalide security labels of inodes that go invalid

2015-08-20 Thread Christoph Hellwig
On Thu, Aug 20, 2015 at 08:19:58PM +0200, Andreas Gruenbacher wrote: > Invalide security labels of inodes when they go invalid. SELinux will reload > the "security.selinux" xattr via iop->igetxattr on the next access. And if that's all that you needed just skip the detour trough the VFS interface

[Cluster-devel] [RFC 11/11] gfs2: Invalide security labels of inodes that go invalid

2015-08-20 Thread Andreas Gruenbacher
Invalide security labels of inodes when they go invalid. SELinux will reload the "security.selinux" xattr via iop->igetxattr on the next access. Signed-off-by: Andreas Gruenbacher --- fs/gfs2/glops.c | 2 ++ fs/gfs2/inode.c | 16 2 files changed, 14 insertions(+), 4 deletions(