/*
* Attribute: Index allocation (0xa0).
*
* Always non-resident (doesn't make sense to be resident anyway!).
*
* This is an array of index blocks. Each index block starts with an
* INDEX_BLOCK_HEADER structure containing an index header, followed by a
* sequence of index entries (INDEX_ENTRY structures), as described by the
* index header.
*/
typedef struct {
NTFS_RECORD_HEADER ntfs; /* Magic is "INDX". */
//
// shouldnt log_sequence_number be here ?
//
__u64 index_block_vcn; /* Virtual cluster number of this
index block. */
INDEX_HEADER index; /* Index header describing the
following index entries. */
} __attribute__ ((__packed__)) INDEX_BLOCK_HEADER;
Btw: Why not to place log_sequence_number (lsn) into NTFS_RECORD_HEADER.
Sincerely,
Michael
|