.\" 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_SYNC_MFT_MIRROR" "9" "09 October 2005" "" "" .SH NAME ntfs_sync_mft_mirror \- synchronize an mft record to the mft mirror .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int ntfs_sync_mft_mirror (ntfs_volume * \fIvol\fB, const unsigned long \fImft_no\fB, MFT_RECORD * \fIm\fB, int \fIsync\fB); \fR .SH "ARGUMENTS" .TP \fB\fIvol\fB\fR ntfs volume on which the mft record to synchronize resides .TP \fB\fImft_no\fB\fR mft record number of mft record to synchronize .TP \fB\fIm\fB\fR mapped, mst protected (extent) mft record to synchronize .TP \fB\fIsync\fB\fR if true, wait for i/o completion .SH "DESCRIPTION" .PP Write the mapped, mst protected (extent) mft record \fIm\fR with mft record number \fImft_no\fR to the mft mirror (\fB$MFTMirr\fR) of the ntfs volume \fIvol\fR\&. .PP On success return 0. On error return -errno and set the volume errors flag in the ntfs volume \fIvol\fR\&. .SH "NOTE" .PP We always perform synchronous i/o and ignore the \fIsync\fR parameter. .SH "TODO" .PP If \fIsync\fR is false, want to do truly asynchronous i/o, i.e. just schedule i/o via ->writepage or do it via kntfsd or whatever.