.\" 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 "FORMAT_MFT_RECORD" "" "06 October 2005" "" ""
.SH NAME
format_mft_record \- initialize an empty mft record
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int format_mft_record (ntfs_inode * \fIni\fB, MFT_RECORD * \fImft_rec\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIni\fB\fR
ntfs inode of mft record
.TP
\fB\fImft_rec\fB\fR
mapped, pinned and locked mft record (optional)
.SH "DESCRIPTION"
.PP
Initialize an empty mft record. This is used when extending the MFT.
.PP
If \fImft_rec\fR is NULL, we call \fBmap_mft_record\fR to obtain the
record and we unmap it again when finished.
.PP
We return 0 on success or -errno on error.