.\" 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_UMOUNT" "9" "09 October 2005" "" ""
.SH NAME
ntfs_sync_mft_mirror_umount \- synchronise an mft record to the mft mirror
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_sync_mft_mirror_umount (ntfs_volume * \fIvol\fB, const unsigned long \fImft_no\fB, MFT_RECORD * \fIm\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
.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,
bypassing the page cache and the \fB$MFTMirr\fR inode itself.
.PP
This function is only for use at umount time when the mft mirror inode has
already been disposed off. We \fBBUG\fR if we are called while the mft mirror
inode is still attached to the volume.
.PP
On success return 0. On error return -errno.
.SH "NOTE"
.PP
This function is not implemented yet as I am not convinced it can
actually be triggered considering the sequence of commits we do in super.c::
\fBntfs_put_super\fR\&. But just in case we provide this place holder as the
alternative would be either to \fBBUG\fR or to get a NULL pointer dereference
and Oops.