patch-2.1.120 linux/include/linux/genhd.h

Next file: linux/include/linux/if.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.119/linux/include/linux/genhd.h linux/include/linux/genhd.h
@@ -49,7 +49,7 @@
 	unsigned char end_cyl;		/* end cylinder */
 	unsigned int start_sect;	/* starting sector counting from 0 */
 	unsigned int nr_sects;		/* nr of sectors in partition */
-};
+} __attribute__((packed));
 
 struct hd_struct {
 	long start_sect;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov