.\" 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 "NTFS_GET_DENTRY" "9" "09 October 2005" "" ""
.SH NAME
ntfs_get_dentry \- find a dentry for the inode from a file handle sub-fragment
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
struct dentry * ntfs_get_dentry (struct super_block * \fIsb\fB, void * \fIfh\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsb\fB\fR
super block identifying the mounted ntfs volume
.TP
\fB\fIfh\fB\fR
the file handle sub-fragment
.SH "DESCRIPTION"
.PP
Find a dentry for the inode given a file handle sub-fragment. This function
is called from fs/exportfs/expfs.c::\fBfind_exported_dentry\fR which in turn is
called from the default ->\fBdecode_fh\fR which is \fBexport_decode_fh\fR in the
same file. The code is closely based on the default ->\fBget_dentry\fR helper
fs/exportfs/expfs.c::\fBget_object\fR\&.
.PP
The \fIfh\fR contains two 32-bit unsigned values, the first one is the inode
number and the second one is the inode generation.
.PP
Return the dentry on success or the error code on error (\fBIS_ERR\fR is true).