]> git.baikalelectronics.ru Git - kernel.git/commit
TOMOYO: Use d_is_dir() rather than d_inode and S_ISDIR()
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:39 +0000 (11:38 -0500)
commit3de896b599d9110ceb90a41e93afb9ed431e0928
treef24433342114d749148d5e51fb8ac2f757c9e226
parent03219257fb3f4a9c60887b46652a6cc69a2459c5
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: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/tomoyo/file.c