lkml.org 
[lkml]   [2004]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[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.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.070 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site