vmdk: Fix header structure
authorKevin Wolf <kwolf@redhat.com>
Thu, 16 Aug 2012 08:34:10 +0000 (10:34 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Aug 2012 09:14:19 +0000 (11:14 +0200)
Commit bb45ded9 swapped gd_offset and rgd_offset. This is wrong.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/vmdk.c

index daee426..9648398 100644 (file)
@@ -57,8 +57,8 @@ typedef struct {
     int64_t desc_offset;
     int64_t desc_size;
     int32_t num_gtes_per_gte;
-    int64_t gd_offset;
     int64_t rgd_offset;
+    int64_t gd_offset;
     int64_t grain_offset;
     char filler[1];
     char check_bytes[4];