Skip to content

Commit 698f1e2

Browse files
author
Al Viro
committed
kill d_backing_dentry()
no users left Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 2fcd38f commit 698f1e2

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

include/linux/dcache.h

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -530,21 +530,6 @@ static inline struct inode *d_backing_inode(const struct dentry *upper)
530530
return inode;
531531
}
532532

533-
/**
534-
* d_backing_dentry - Get upper or lower dentry we should be using
535-
* @upper: The upper layer
536-
*
537-
* This is the helper that should be used to get the dentry of the inode that
538-
* will be used if this dentry were opened as a file. It may be the upper
539-
* dentry or it may be a lower dentry pinned by the upper.
540-
*
541-
* Normal filesystems should not use this to access their own dentries.
542-
*/
543-
static inline struct dentry *d_backing_dentry(struct dentry *upper)
544-
{
545-
return upper;
546-
}
547-
548533
/**
549534
* d_real - Return the real dentry
550535
* @dentry: the dentry to query

0 commit comments

Comments
 (0)