[PATCH] trivial patch to dm-flakey.c

From: Dave Olien
Date: Tue Apr 27 2004 - 21:24:44 EST



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.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/