Here's a small patch that allows dm-ioctl.ko to be loaded. It is
against the latest 2.5.52-bk tree. Joe, please add this to the next set
of patches you send out.
thanks,
greg k-h
===== drivers/md/Makefile 1.10 vs edited =====
--- 1.10/drivers/md/Makefile Sat Dec 14 04:38:56 2002
+++ edited/drivers/md/Makefile Fri Dec 20 14:35:41 2002
@@ -2,7 +2,7 @@
# Makefile for the kernel software RAID and LVM drivers.
#
-export-objs := md.o xor.o dm-table.o dm-target.o
+export-objs := md.o xor.o dm-table.o dm-target.o dm.o
dm-mod-objs := dm.o dm-table.o dm-target.o dm-linear.o dm-stripe.o \
dm-ioctl.o
===== drivers/md/dm-table.c 1.5 vs edited =====
--- 1.5/drivers/md/dm-table.c Mon Dec 16 01:40:44 2002
+++ edited/drivers/md/dm-table.c Fri Dec 20 14:35:28 2002
@@ -752,3 +752,11 @@
EXPORT_SYMBOL(dm_get_device);
EXPORT_SYMBOL(dm_put_device);
EXPORT_SYMBOL(dm_table_event);
+EXPORT_SYMBOL(dm_table_add_target);
+EXPORT_SYMBOL(dm_table_complete);
+EXPORT_SYMBOL(dm_table_get_num_targets);
+EXPORT_SYMBOL(dm_table_put);
+EXPORT_SYMBOL(dm_table_create);
+EXPORT_SYMBOL(dm_table_get_target);
+EXPORT_SYMBOL(dm_table_get_devices);
+EXPORT_SYMBOL(dm_table_add_wait_queue);
===== drivers/md/dm.c 1.14 vs edited =====
--- 1.14/drivers/md/dm.c Mon Dec 16 01:42:31 2002
+++ edited/drivers/md/dm.c Fri Dec 20 14:35:28 2002
@@ -863,3 +863,13 @@
MODULE_DESCRIPTION(DM_NAME " driver");
MODULE_AUTHOR("Joe Thornber <thornber@sistina.com>");
MODULE_LICENSE("GPL");
+
+EXPORT_SYMBOL(dm_create);
+EXPORT_SYMBOL(dm_get);
+EXPORT_SYMBOL(dm_put);
+EXPORT_SYMBOL(dm_disk);
+EXPORT_SYMBOL(dm_get_table);
+EXPORT_SYMBOL(dm_suspended);
+EXPORT_SYMBOL(dm_suspend);
+EXPORT_SYMBOL(dm_resume);
+EXPORT_SYMBOL(dm_swap_table);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/