summaryrefslogtreecommitdiff
path: root/include/linux/dcache.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-11-11 00:19:59 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2023-11-19 00:21:42 +0300
commit698f1e2b71736977b04f951e2e2ef1c9a80696ff (patch)
tree301beb6068ce7a3c176bf414bbb365d7baf68909 /include/linux/dcache.h
parent2fcd38f4de7256e2b5cb23ad22a6e3ebfea7dd18 (diff)
downloadlinux-698f1e2b71736977b04f951e2e2ef1c9a80696ff.tar.xz
kill d_backing_dentry()
no users left Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/dcache.h')
-rw-r--r--include/linux/dcache.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/linux/dcache.h b/include/linux/dcache.h
index a5e5e274eee0..fa0414cff85c 100644
--- a/include/linux/dcache.h
+++ b/include/linux/dcache.h
@@ -531,21 +531,6 @@ static inline struct inode *d_backing_inode(const struct dentry *upper)
}
/**
- * d_backing_dentry - Get upper or lower dentry we should be using
- * @upper: The upper layer
- *
- * This is the helper that should be used to get the dentry of the inode that
- * will be used if this dentry were opened as a file. It may be the upper
- * dentry or it may be a lower dentry pinned by the upper.
- *
- * Normal filesystems should not use this to access their own dentries.
- */
-static inline struct dentry *d_backing_dentry(struct dentry *upper)
-{
- return upper;
-}
-
-/**
* d_real - Return the real dentry
* @dentry: the dentry to query
* @inode: inode to select the dentry from multiple layers (can be NULL)