1D_ALLOC_ROOT(9) The Linux VFS D_ALLOC_ROOT(9)
23
4
NAME
6d_alloc_root - allocate root dentry
7
SYNOPSIS
9struct dentry * d_alloc_root(struct inode * root_inode);
10
ARGUMENTS
12root_inode
13inode to allocate the root for
14
DESCRIPTION
16Allocate a root (“/”) dentry for the inode given. The inode is
17instantiated and returned. NULL is returned if there is insufficient
18memory or the inode passed is NULL.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. November 2011 D_ALLOC_ROOT(9)