.\" 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 "LOOKUP_CREATE" "9" "09 October 2005" "" ""
.SH NAME
lookup_create \- lookup a dentry, creating it if it doesn't exist
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct dentry * lookup_create (struct nameidata * \fInd\fB, int \fIis_dir\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInd\fB\fR
nameidata info
.TP
\fB\fIis_dir\fB\fR
directory flag
.SH "DESCRIPTION"
.PP
Simple function to lookup and return a dentry and create it
if it doesn't exist. Is SMP-safe.
.PP
Returns with nd->dentry->d_inode->i_sem locked.