All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: lvm-devel@sistina.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] allow dm-ioctl.ko to be used
Date: Fri, 20 Dec 2002 14:41:49 -0800	[thread overview]
Message-ID: <20021220224148.GA13612@kroah.com> (raw)

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

             reply	other threads:[~2002-12-20 22:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-20 22:41 Greg KH [this message]
2002-12-27  2:42 ` [lvm-devel] [PATCH] allow dm-ioctl.ko to be used Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021220224148.GA13612@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lvm-devel@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.