[dm-devel] [PATCH 3/3] md bitmap: export bitmap_destroy() to support dm-raid down takover to raid0

heinzm at redhat.com heinzm at redhat.com
Fri Feb 13 18:48:08 UTC 2015


From: Heinz Mauelshagen <heinzm at 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 at redhat.com>
Tested-by: Heinz Mauelshagen <heinzm at 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




More information about the dm-devel mailing list