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

TOMOYO: Use d_is_dir() rather than d_inode and S_ISDIR()



Use d_is_dir() rather than d_inode and S_ISDIR().  Note that this will include
fake directories such as automount triggers.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 729b8a3d
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