diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-05-18 17:10:34 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-24 01:02:01 +0300 |
commit | dc3f4198eac14e52a98dfc79cd84b45e280f59cd (patch) | |
tree | 1fa6e8ec571132471e903a6a1d34accacfa9ad33 /fs/autofs4/autofs_i.h | |
parent | 5d754ced150e392c7b5dbf73ed2feddb60cd579a (diff) | |
download | linux-dc3f4198eac14e52a98dfc79cd84b45e280f59cd.tar.xz |
make simple_positive() public
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
-rw-r--r-- | fs/autofs4/autofs_i.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/autofs4/autofs_i.h b/fs/autofs4/autofs_i.h index 5b700ef1e59d..c37149b929be 100644 --- a/fs/autofs4/autofs_i.h +++ b/fs/autofs4/autofs_i.h @@ -238,11 +238,6 @@ static inline u64 autofs4_get_ino(struct autofs_sb_info *sbi) return d_inode(sbi->sb->s_root)->i_ino; } -static inline int simple_positive(struct dentry *dentry) -{ - return d_really_is_positive(dentry) && !d_unhashed(dentry); -} - static inline void __autofs4_add_expiring(struct dentry *dentry) { struct autofs_sb_info *sbi = autofs4_sbi(dentry->d_sb); |