d_backing_inode(9) Get upper or lower inode we should be using

SYNOPSIS

struct inode * d_backing_inode(const struct dentry * upper);

ARGUMENTS

upper

The upper layer

DESCRIPTION

This is the helper that should be used to get at the inode that will be used if this dentry were to be opened as a file. The inode may be on the upper dentry or it may be on a lower dentry pinned by the upper.

Normal filesystems should not use this to access their own inodes.

COPYRIGHT