From 9cd3246db7685f9d16eee415e931a411fba1fce2 Mon Sep 17 00:00:00 2001 From: Yura Pakhuchiy Date: Tue, 11 Sep 2007 20:56:34 +0300 Subject: [PATCH] cleanup --- include/ntfs/inode.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/ntfs/inode.h b/include/ntfs/inode.h index 5ad9bc47..70d172fd 100644 --- a/include/ntfs/inode.h +++ b/include/ntfs/inode.h @@ -41,7 +41,7 @@ typedef struct _ntfs_inode ntfs_inode; typedef enum { NI_Dirty, /* 1: Mft record needs to be written to disk. */ - /* The NI_AttrList* tests only make sense for base inodes. */ + /* Below fields only make sense for base inodes. */ NI_AttrList, /* 1: Mft record contains an attribute list. */ NI_AttrListDirty, /* 1: Attribute list needs to be written to the mft record and then to disk. */ @@ -130,6 +130,12 @@ struct _ntfs_inode { }; /* Below fields are valid only for base inode. */ + + /* + * This two fields are used to sync filename index and guaranteed to be + * correct, however value in index itself maybe wrong (windows itself + * do not update them properly). + */ s64 data_size; /* Data size of unnamed DATA attribute. */ s64 allocated_size; /* Allocated size stored in the filename index. (NOTE: Equal to allocated size of