ntfs: mapping_chunk's length field must not be an uint8_t type
authorPaulo Alcantara <pcacjr@gmail.com>
Fri, 29 Jul 2011 04:45:53 +0000 (04:45 +0000)
committerPaulo Alcantara <pcacjr@gmail.com>
Sun, 11 Sep 2011 04:09:58 +0000 (04:09 +0000)
Also change the other length field accordingly.

Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
core/fs/ntfs/ntfs.h

index 1da93b2..715e4db 100644 (file)
@@ -76,7 +76,7 @@ struct ntfs_inode {
             uint32_t offset;    /* Data offset */
         } resident;
         struct {            /* Used only if non_resident is set */
-            uint8_t len;
+            uint64_t len;
             int64_t lcn;        /* Logical Cluster Number offset */
         } non_resident;
     } data;
@@ -105,7 +105,7 @@ enum {
 };
 
 struct mapping_chunk {
-    uint8_t len;
+    uint64_t len;
     int64_t lcn;        /* Logical Cluster Number */
     uint32_t flags;     /* Specific flags of this chunk */
 };