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

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



Signed-off-by: Heinz Mauelshagen <hjm redhat com>
---
 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


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