]> 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)
commit5181027227f4120d6cca415454569c91068b42b4
treef24433342114d749148d5e51fb8ac2f757c9e226
parent3cc63e7d210155a2ea044081d87a6158ee4fbfe5
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