.\" 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_FIND_ALIAS" "" "06 October 2005" "" ""
.SH NAME
d_find_alias \- grab a hashed alias of inode
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct dentry * d_find_alias (struct inode * \fIinode\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
inode in question
.SH "DESCRIPTION"
.PP
If inode has a hashed alias - acquire the reference to alias and
return it. Otherwise return NULL. Notice that if inode is a directory
there can be only one alias and it can be unhashed only if it has
no children.
.PP
If the inode has a DCACHE_DISCONNECTED alias, then prefer
any other hashed alias over that one.