summaryrefslogtreecommitdiffstats
path: root/security/apparmor
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-01-29 13:02:29 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2015-02-22 17:38:38 +0100
commit44bdb5e5f6382ba88f7678d6f535f879324522ae (patch)
treee9aab8e53a78446f60e4036cb617c9dd10655228 /security/apparmor
parentVFS: Add a fallthrough flag for marking virtual dentries (diff)
downloadlinux-44bdb5e5f6382ba88f7678d6f535f879324522ae.tar.xz
linux-44bdb5e5f6382ba88f7678d6f535f879324522ae.zip
VFS: Split DCACHE_FILE_TYPE into regular and special types
Split DCACHE_FILE_TYPE into DCACHE_REGULAR_TYPE (dentries representing regular files) and DCACHE_SPECIAL_TYPE (representing blockdev, chardev, FIFO and socket files). d_is_reg() and d_is_special() are added to detect these subtypes and d_is_file() is left as the union of the two. This allows a number of places that use S_ISREG(dentry->d_inode->i_mode) to use d_is_reg(dentry) instead. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/apparmor')
0 files changed, 0 insertions, 0 deletions