Patch to fix the size of ddf1_disk_data

James Simshaw <[email protected]>
Newsgroups gmane.linux.ataraid
Message-ID <[email protected]>
Hello,

There is a slight discrepancy in the reserved section of the 
ddf1_disk_data struct and what the ddf1 specifications say that it 
should be.  This patch fixes that discrepancy.

James Simshaw

_______________________________________________
Ataraid-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ataraid-list
header.patch (text/x-patch, 388 B)
--- ../ORIGINAL/lib/format/ataraid/ddf1.h	2006-05-16 17:17:41.000000000 -0700
+++ lib/format/ataraid/ddf1.h	2006-07-18 15:03:59.000000000 -0700
@@ -125,7 +125,7 @@ struct ddf1_disk_data {
 	uint8_t		forced_ref_flag;
 	uint8_t		forced_guid_flag;
 	uint8_t		scratch[32];
-	uint8_t		reserved[445];
+	uint8_t		reserved[442];
 } __attribute__ ((packed));
 
 /* Physical drive record header */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.