patch-2.1.90 linux/drivers/block/md.c
Next file: linux/drivers/block/raid5.c
Previous file: linux/drivers/block/ll_rw_blk.c
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Tue Mar 10 14:43:13 1998
- Orig file:
v2.1.89/linux/drivers/block/md.c
- Orig date:
Thu Feb 12 20:56:05 1998
diff -u --recursive --new-file v2.1.89/linux/drivers/block/md.c linux/drivers/block/md.c
@@ -12,6 +12,9 @@
RAID-1/RAID-5 extensions by:
Ingo Molnar, Miguel de Icaza, Gadi Oxman
+
+ Changes for kmod by:
+ Cyrus Durgin
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -43,8 +46,8 @@
#include <linux/blkdev.h>
#include <linux/genhd.h>
#include <linux/smp_lock.h>
-#ifdef CONFIG_KERNELD
-#include <linux/kerneld.h>
+#ifdef CONFIG_KMOD
+#include <linux/kmod.h>
#endif
#include <linux/errno.h>
#include <linux/init.h>
@@ -431,7 +434,7 @@
}
if (!pers[pnum])
{
-#ifdef CONFIG_KERNELD
+#ifdef CONFIG_KMOD
char module_name[80];
sprintf (module_name, "md-personality-%d", pnum);
request_module (module_name);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov