[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [PATCH 6/6] dm-replicator: export dm_disk symbol



From: Heinz Mauelshagen <heinzm redhat com>

Export symbol dm_disk(dm.c) used by "blockdev" site
link handler (dm-repl-slink-blockdev.c).

Signed-off-by: Heinz Mauelshagen <heinzm redhat com>
Signed-off-by: Zdenek Kabelac <zkabelac redhat com>
---
 drivers/md/dm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 724efc6..901b95e 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -2573,6 +2573,7 @@ struct gendisk *dm_disk(struct mapped_device *md)
 {
 	return md->disk;
 }
+EXPORT_SYMBOL_GPL(dm_disk);
 
 struct kobject *dm_kobject(struct mapped_device *md)
 {
-- 
1.6.2.5


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]