public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial patch to dm-flakey.c
@ 2004-04-28  2:24 Dave Olien
  0 siblings, 0 replies; only message in thread
From: Dave Olien @ 2004-04-28  2:24 UTC (permalink / raw)
  To: thornber; +Cc: dm-devel, linux-kernel


This just adds an __exit to dm_flakey_exit().

diff -ur linux-2.6.6-rc2-udm1-original/drivers/md/dm-flakey.c linux-2.6.6-rc2-udm1-patched/drivers/md/dm-flakey.c
--- linux-2.6.6-rc2-udm1-original/drivers/md/dm-flakey.c	2004-04-27 19:22:49.000000000 -0700
+++ linux-2.6.6-rc2-udm1-patched/drivers/md/dm-flakey.c	2004-04-27 19:22:41.000000000 -0700
@@ -141,7 +141,7 @@
 	return r;
 }
 
-void dm_flakey_exit(void)
+void __exit dm_flakey_exit(void)
 {
 	int r = dm_unregister_target(&flakey_target);
 
diff -ur linux-2.6.6-rc2-udm1-original/drivers/md/dm.h linux-2.6.6-rc2-udm1-patched/drivers/md/dm.h
--- linux-2.6.6-rc2-udm1-original/drivers/md/dm.h	2004-04-27 19:22:07.000000000 -0700
+++ linux-2.6.6-rc2-udm1-patched/drivers/md/dm.h	2004-04-27 19:22:07.000000000 -0700
@@ -31,8 +31,6 @@
 
 #define SECTOR_SHIFT 9
 
-extern struct block_device_operations dm_blk_dops;
-
 /*
  * List of devices that a metadevice uses and should open/close.
  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-04-28  2:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-28  2:24 [PATCH] trivial patch to dm-flakey.c Dave Olien

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox