patch-2.4.1 linux/fs/partitions/msdos.c
Next file: linux/fs/proc/kcore.c
Previous file: linux/fs/nfs/flushd.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Jan 29 13:16:00 2001
- Orig file:
v2.4.0/linux/fs/partitions/msdos.c
- Orig date:
Tue Jul 18 23:29:16 2000
diff -u --recursive --new-file v2.4.0/linux/fs/partitions/msdos.c linux/fs/partitions/msdos.c
@@ -36,7 +36,7 @@
#include "check.h"
#include "msdos.h"
-#if CONFIG_BLK_DEV_MD && CONFIG_AUTODETECT_RAID
+#if CONFIG_BLK_DEV_MD
extern void md_autodetect_dev(kdev_t dev);
#endif
@@ -136,7 +136,7 @@
add_gd_partition(hd, current_minor,
this_sector+START_SECT(p)*sector_size,
NR_SECTS(p)*sector_size);
-#if CONFIG_BLK_DEV_MD && CONFIG_AUTODETECT_RAID
+#if CONFIG_BLK_DEV_MD
if (SYS_IND(p) == LINUX_RAID_PARTITION) {
md_autodetect_dev(MKDEV(hd->major,current_minor));
}
@@ -448,7 +448,7 @@
continue;
add_gd_partition(hd, minor, first_sector+START_SECT(p)*sector_size,
NR_SECTS(p)*sector_size);
-#if CONFIG_BLK_DEV_MD && CONFIG_AUTODETECT_RAID
+#if CONFIG_BLK_DEV_MD
if (SYS_IND(p) == LINUX_RAID_PARTITION) {
md_autodetect_dev(MKDEV(hd->major,minor));
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)