Skip to content
Commit 2c616d4d authored by David Howells's avatar David Howells Committed by Al Viro
Browse files

SELinux: Use d_is_positive() rather than testing dentry->d_inode



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

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 8802565b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment