.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "D_ALLOC_ROOT" "" "06 October 2005" "" ""
.SH NAME
d_alloc_root \- allocate root dentry
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct dentry * d_alloc_root (struct inode * \fIroot_inode\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIroot_inode\fB\fR
inode to allocate the root for
.SH "DESCRIPTION"
.PP
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\&.