linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] md bitmap: export bitmap_destroy() to support dm-raid down takover to raid0
@ 2015-02-13 18:48 heinzm
  0 siblings, 0 replies; only message in thread
From: heinzm @ 2015-02-13 18:48 UTC (permalink / raw)
  To: linux-raid; +Cc: Heinz Mauelshagen

From: Heinz Mauelshagen <heinzm@redhat.com>

This patch exports symbol bitmap_destroy to allow dm-raid to remove
bitmaps when performing a down takeover to md raid0.


Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Tested-by: Heinz Mauelshagen <heinzm@redhat.com>
---
 drivers/md/bitmap.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c
index 3a57679..b484d15 100644
--- a/drivers/md/bitmap.c
+++ b/drivers/md/bitmap.c
@@ -1631,6 +1631,7 @@ void bitmap_destroy(struct mddev *mddev)
 
 	bitmap_free(bitmap);
 }
+EXPORT_SYMBOL_GPL(bitmap_destroy);
 
 /*
  * initialize the bitmap structure
-- 
2.1.0


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

only message in thread, other threads:[~2015-02-13 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 18:48 [PATCH 3/3] md bitmap: export bitmap_destroy() to support dm-raid down takover to raid0 heinzm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).