[dm-devel] [RFC PATCH 6/6] dm headers(2nd): export dm_disk() so that callers can actually use this external interface function

Heinz Mauelshagen hjm at redhat.com
Thu Mar 6 13:11:45 UTC 2008


---
 drivers/md/dm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git linux-2.6.25-rc4.orig/drivers/md/dm.c linux-2.6.25-rc4/drivers/md/dm.c
index 6617ce4..30da5eb 100644
--- linux-2.6.25-rc4.orig/drivers/md/dm.c
+++ linux-2.6.25-rc4/drivers/md/dm.c
@@ -1626,6 +1626,7 @@ struct gendisk *dm_disk(struct mapped_device *md)
 {
 	return md->disk;
 }
+EXPORT_SYMBOL_GPL(dm_disk);
 
 int dm_suspended(struct mapped_device *md)
 {
-- 
1.5.4.1




More information about the dm-devel mailing list