.\" 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 "EXT3_FIND_GOAL" "" "06 October 2005" "" ""
.SH NAME
ext3_find_goal \- find a prefered place for allocation.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ext3_find_goal (struct inode * \fIinode\fB, long \fIblock\fB, Indirect * \fIchain\fB, Indirect * \fIpartial\fB, unsigned long * \fIgoal\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIinode\fB\fR
owner
.TP
\fB\fIblock\fB\fR
block we want
.TP
\fB\fIchain\fB\fR
chain of indirect blocks
.TP
\fB\fIpartial\fB\fR
pointer to the last triple within a chain
.TP
\fB\fIgoal\fB\fR
place to store the result.
.SH "DESCRIPTION"
.PP
Normally this function find the prefered place for block allocation,
stores it in *\fIgoal\fR and returns zero. If the branch had been changed
under us we return -EAGAIN.