NTFS_ATTR_RECORD_RESIZE

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

 

NAME

ntfs_attr_record_resize - resize an attribute record  

SYNOPSIS

"SYNOPSIS"

int ntfs_attr_record_resize (MFT_RECORD * m, ATTR_RECORD * a, u32 new_size);  

ARGUMENTS

m
mft record containing attribute record
a
attribute record to resize
new_size
new size in bytes to which to resize the attribute record a
 

DESCRIPTION

Resize the attribute record a, i.e. the resident part of the attribute, in the mft record m to new_size bytes.

Return 0 on success and -errno on error. The following error codes are  

DEFINED

-ENOSPC - Not enough space in the mft record m to perform the resize.  

NOTE

On error, no modifications have been performed whatsoever.  

WARNING

If you make a record smaller without having copied all the data you are interested in the data may be overwritten.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
DEFINED
NOTE
WARNING

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