dm: export dm get md
authorAlasdair G Kergon <agk@redhat.com>
Mon, 31 Oct 2011 20:19:06 +0000 (20:19 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Mon, 31 Oct 2011 20:19:06 +0000 (20:19 +0000)
Export dm_get_md() for the new thin provisioning target to use.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c

index 9836324..6b6616a 100644 (file)
@@ -2250,6 +2250,7 @@ struct mapped_device *dm_get_md(dev_t dev)
 
        return md;
 }
+EXPORT_SYMBOL_GPL(dm_get_md);
 
 void *dm_get_mdptr(struct mapped_device *md)
 {