kill d_backing_dentry()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 10 Nov 2023 21:19:59 +0000 (16:19 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Nov 2023 21:21:42 +0000 (16:21 -0500)
no users left

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
include/linux/dcache.h

index a5e5e274eee09560e34196e121db1a4041aee99f..fa0414cff85c14085b0f647bb67f889727db3e45 100644 (file)
@@ -530,21 +530,6 @@ static inline struct inode *d_backing_inode(const struct dentry *upper)
        return inode;
 }
 
-/**
- * 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