vserver 1.9.3
[linux-2.6.git] / fs / ntfs / volume.h
index 330c3a2..9775fa6 100644 (file)
@@ -73,16 +73,28 @@ typedef struct {
        /* Mount specific NTFS information. */
        u32 upcase_len;                 /* Number of entries in upcase[]. */
        ntfschar *upcase;               /* The upcase table. */
+
+       s32 attrdef_size;               /* Size of the attribute definition
+                                          table in bytes. */
+       ATTR_DEF *attrdef;              /* Table of attribute definitions.
+                                          Obtained from FILE_AttrDef. */
+
+#ifdef NTFS_RW
+       /* Variables used by the cluster and mft allocators. */
        LCN mft_zone_start;             /* First cluster of the mft zone. */
        LCN mft_zone_end;               /* First cluster beyond the mft zone. */
+       LCN mft_zone_pos;               /* Current position in the mft zone. */
+       LCN data1_zone_pos;             /* Current position in the first data
+                                          zone. */
+       LCN data2_zone_pos;             /* Current position in the second data
+                                          zone. */
+#endif /* NTFS_RW */
+
        struct inode *mft_ino;          /* The VFS inode of $MFT. */
 
        struct inode *mftbmp_ino;       /* Attribute inode for $MFT/$BITMAP. */
        struct rw_semaphore mftbmp_lock; /* Lock for serializing accesses to the
                                            mft record bitmap ($MFT/$BITMAP). */
-       unsigned long nr_mft_records;   /* Number of mft records == number of
-                                          bits in mft bitmap. */
-
 #ifdef NTFS_RW
        struct inode *mftmirr_ino;      /* The VFS inode of $MFTMirr. */
        int mftmirr_size;               /* Size of mft mirror in mft records. */