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

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

diff -u --recursive --new-file v2.3.42/linux/include/linux/genhd.h linux/include/linux/genhd.h
@@ -19,6 +19,7 @@
 #define WIN98_EXTENDED_PARTITION 0x0f
 
 #define LINUX_SWAP_PARTITION	0x82
+#define LINUX_RAID_PARTITION	0xfd	/* autodetect RAID partition */
 
 #ifdef CONFIG_SOLARIS_X86_PARTITION
 #define SOLARIS_X86_PARTITION	LINUX_SWAP_PARTITION
@@ -45,6 +46,7 @@
 struct hd_struct {
 	long start_sect;
 	long nr_sects;
+	int type;			/* currently RAID or normal */
 };
 
 struct gendisk {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)