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 9836324e21186cefed3a40354f2e7190470a27c2..6b6616a41baaa63c546af3ed53181d3271d09b82 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)
 {