---
name: "d_real_inode"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/d_real_inode"
---

# d\_real\_inode(9)

Return the real inode

## NAME

d\_real\_inode - Return the real inode

## SYNOPSIS

**struct inode \* d\_real\_inode(const struct dentry \*** *dentry***);**

## ARGUMENTS

*dentry*

The dentry to query

## DESCRIPTION

If dentry is on an union/overlay, then return the underlying, real inode. Otherwise return **d\_inode**.

## COPYRIGHT
