From: Heinz Mauelshagen <[email-masked]>

Export dm_disk so target modules may use it.
It's already part of the published interface in include/linux/device-mapper.h.

Signed-off-by: Heinz Mauelshagen <[email-masked]>
Signed-off-by: Alasdair G Kergon <[email-masked]>
---
 drivers/md/dm.c |    1 +
 1 files changed, 1 insertion(+)

Index: linux/drivers/md/dm.c
===================================================================
--- linux.orig/drivers/md/dm.c	2008-08-05 02:41:11.000000000 +0100
+++ linux/drivers/md/dm.c	2008-08-05 14:14:33.000000000 +0100
@@ -1670,6 +1670,7 @@ struct gendisk *dm_disk(struct mapped_de
 {
 	return md->disk;
 }
+EXPORT_SYMBOL_GPL(dm_disk);
 
 int dm_suspended(struct mapped_device *md)
 {