NTFS_SYNC_MFT_MIRROR_UMOUNT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

ntfs_sync_mft_mirror_umount - synchronise an mft record to the mft mirror  

SYNOPSIS

"SYNOPSIS"

int ntfs_sync_mft_mirror_umount (ntfs_volume * vol, const unsigned long mft_no, MFT_RECORD * m);  

ARGUMENTS

vol
ntfs volume on which the mft record to synchronize resides
mft_no
mft record number of mft record to synchronize
m
mapped, mst protected (extent) mft record to synchronize
 

DESCRIPTION

Write the mapped, mst protected (extent) mft record m with mft record number mft_no to the mft mirror ($MFTMirr) of the ntfs volume vol, bypassing the page cache and the $MFTMirr inode itself.

This function is only for use at umount time when the mft mirror inode has already been disposed off. We BUG if we are called while the mft mirror inode is still attached to the volume.

On success return 0. On error return -errno.  

NOTE

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:: ntfs_put_super. But just in case we provide this place holder as the alternative would be either to BUG or to get a NULL pointer dereference and Oops.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE

This document was created by man2html, using the manual pages.
Time: 00:02:34 GMT, October 09, 2005