From fe10799d0f04862ce80a1564a51920e906fff431 Mon Sep 17 00:00:00 2001 From: jpandre Date: Sat, 6 Oct 2007 14:32:12 +0000 Subject: [PATCH] New fields to store handles to $Secure and upgraded to v1.1004 --- include/ntfs-3g/volume.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/ntfs-3g/volume.h b/include/ntfs-3g/volume.h index 3020665f..d93d773e 100644 --- a/include/ntfs-3g/volume.h +++ b/include/ntfs-3g/volume.h @@ -75,6 +75,7 @@ typedef struct _ntfs_volume ntfs_volume; #include "device.h" #include "inode.h" #include "attrib.h" +#include "index.h" /** * enum ntfs_mount_flags - @@ -194,6 +195,10 @@ struct _ntfs_volume { bit means that the mft record is in use and vice versa. */ + ntfs_inode *secure_ni; /* ntfs_inode structure for FILE $Secure */ + ntfs_index_context *secure_xsii; /* index for using $Secure:$SII */ + ntfs_index_context *secure_xsdh; /* index for using $Secure:$SDH */ + int mftmirr_size; /* Size of the FILE_MFTMirr in mft records. */ LCN mftmirr_lcn; /* Logical cluster number of the data attribute for FILE_MFTMirr. */ @@ -214,6 +219,7 @@ struct _ntfs_volume { s64 free_clusters; /* Track the number of free clusters which greatly improves statfs() performance */ + s64 free_mft_records; /* Same for free mft records (see above) */ /* Temp: for directory handling */ void *private_data; /* ntfs_dir for . */