[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCH] trivial patch to dm-flakey.c



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.
  */

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]