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

DORMANTno replies REVIEWED: 1 (0M)

From: <hidden>
Date: 2015-02-13 18:48:02
Subsystem: the rest · Maintainer: Linus Torvalds

1 review trailer.

From: Heinz Mauelshagen <redacted>

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 <redacted>
Tested-by: Heinz Mauelshagen <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help