d_alloc_root(9)

d_alloc_root9

Allocate root dentry

Usage

struct dentry * d_alloc_root(struct inode * root_inode);

Arguments

root_inode

inode to allocate the root for

Overview

Allocate a root (“/”) dentry for the inode given. The inode is instantiated and returned. NULL is returned if there is insufficient memory or the inode passed is NULL.

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.