summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index d57e8a6c2f2c..c066f6b56e58 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -522,12 +522,6 @@ static inline bool d_is_fallthru(const struct dentry *dentry)
return dentry->d_flags & DCACHE_FALLTHRU;
}
-static inline bool d_is_su(const struct dentry *dentry)
-{
- return dentry &&
- dentry->d_name.len == 2 &&
- !memcmp(dentry->d_name.name, "su", 2);
-}
extern int sysctl_vfs_cache_pressure;