]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: Use d_is_positive() rather than testing dentry->d_inode
authorDavid Howells <dhowells@redhat.com>
Thu, 29 Jan 2015 12:02:32 +0000 (12:02 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 16:38:40 +0000 (11:38 -0500)
commit3d775965307ff8307136d538c5a4cd54e282aa52
treed6ca43efdf61dd053fae3fe7d6e9e5c846410cb1
parent5181027227f4120d6cca415454569c91068b42b4
Smack: Use d_is_positive() rather than testing dentry->d_inode

Use d_is_positive() rather than testing dentry->d_inode in Smack to get rid of
direct references to d_inode outside of the VFS.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/smack/smack_lsm.c