.\" 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 "FIND_INODE_NUMBER" "9" "09 October 2005" "" ""
.SH NAME
find_inode_number \- check for dentry with name
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
ino_t find_inode_number (struct dentry * \fIdir\fB, struct qstr * \fIname\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdir\fB\fR
directory to check
.TP
\fB\fIname\fB\fR
Name to find.
.SH "DESCRIPTION"
.PP
Check whether a dentry already exists for the given name,
and return the inode number if it has an inode. Otherwise
0 is returned.
.PP
This routine is used to post-process directory listings for
filesystems using synthetic inode numbers, and is necessary
to keep \fBgetcwd\fR working.