.\" 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 "EXPORT_ENCODE_FH" "" "06 October 2005" "" ""
.SH NAME
export_encode_fh \- default export_operations->encode_fh function
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int export_encode_fh (struct dentry * \fIdentry\fB, __u32 * \fIfh\fB, int * \fImax_len\fB, int \fIconnectable\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIdentry\fB\fR
the dentry to encode
.TP
\fB\fIfh\fB\fR
where to store the file handle fragment
.TP
\fB\fImax_len\fB\fR
maximum length to store there
.TP
\fB\fIconnectable\fB\fR
whether to store parent information
.SH "DESCRIPTION"
.PP
This default encode_fh function assumes that the 32 inode number
is suitable for locating an inode, and that the generation number
can be used to check that it is still valid. It places them in the
filehandle fragment where export_decode_fh expects to find them.