POST_READ_MST_FIXUP

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

 

NAME

post_read_mst_fixup - deprotect multi sector transfer protected data  

SYNOPSIS

"SYNOPSIS"

int post_read_mst_fixup (NTFS_RECORD * b, const u32 size);  

ARGUMENTS

b
pointer to the data to deprotect
size
size in bytes of b
 

DESCRIPTION

Perform the necessary post read multi sector transfer fixup and detect the presence of incomplete multi sector transfers. - In that case, overwrite the magic of the ntfs record header being processed with ``BAAD'' (in memory only!) and abort processing.

Return 0 on success and -EINVAL on error (``BAAD'' magic will be present).  

NOTE

We consider the absence / invalidity of an update sequence array to mean that the structure is not protected at all and hence doesn't need to be fixed up. Thus, we return success and not failure in this case. This is in contrast to pre_write_mst_fixup, see below.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE

This document was created by man2html, using the manual pages.
Time: 05:30:52 GMT, October 06, 2005