commit | 44b1d53043c482225196e8a9cd9f35163a1b3336 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Apr 01 17:08:41 2014 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Tue Apr 01 17:08:41 2014 +0200 |
tree | fe41d2e81747b987d19ab39251cec8e2dac7964e | |
parent | 455c6fdbd219161bd09b1165f11699d6d73de11c [diff] |
vfs: add d_is_dir() Add d_is_dir(dentry) helper which is analogous to S_ISDIR(). To avoid confusion, rename d_is_directory() to d_can_lookup(). Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Reviewed-by: J. Bruce Fields <bfields@redhat.com>