linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] allow dm-ioctl.ko to be used
@ 2002-12-20 22:41 Greg KH
  2002-12-27  2:42 ` [lvm-devel] " Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Greg KH @ 2002-12-20 22:41 UTC (permalink / raw)
  To: lvm-devel; +Cc: linux-kernel

I guess no one runs the dm code as a module :)

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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [lvm-devel] [PATCH] allow dm-ioctl.ko to be used
  2002-12-20 22:41 [PATCH] allow dm-ioctl.ko to be used Greg KH
@ 2002-12-27  2:42 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2002-12-27  2:42 UTC (permalink / raw)
  To: lvm-devel; +Cc: linux-kernel

On Fri, Dec 20, 2002 at 02:41:49PM -0800, Greg KH wrote:
> I guess no one runs the dm code as a module :)
> 
> 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.

Ok, seems that dm-ioctl only gets built as a stand alone module with the
"testing" patches on Joe's web site, that's why no one else was having
this problem :)

Joe, if you want to add this patch, please do, but I now realize that it
isn't necessary for people to use the in-kernel version of dm right now.

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-27  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-20 22:41 [PATCH] allow dm-ioctl.ko to be used Greg KH
2002-12-27  2:42 ` [lvm-devel] " Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).