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

[dm-devel] [PATCH 4/6] dm raid45 target: export dm_disk from dm.c



This patch exports the dm_disk symbol needed by the raid45 target.

Heinz

 drivers/md/{dm.c.orig => dm.c} |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/md/dm.c.orig b/drivers/md/dm.c
index 424f7b0..208070e 100644
--- a/drivers/md/dm.c.orig
+++ b/drivers/md/dm.c
@@ -1762,6 +1762,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)
 {


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