Scroll to navigation

D_BACKING_DENTRY(9) The Linux VFS D_BACKING_DENTRY(9)

NAME

d_backing_dentry - Get upper or lower dentry we should be using

SYNOPSIS

struct dentry * d_backing_dentry(struct dentry * upper);

ARGUMENTS

struct dentry * upper
The upper layer

DESCRIPTION

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.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11