summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2011-10-31 20:19:06 +0000
committerAlasdair G Kergon <agk@redhat.com>2011-10-31 20:19:06 +0000
commit3cf2e4ba74ca1bf5d8ad26cd18592f02b32964f5 (patch)
tree5520a8bcdbabc01956ce774724388e013b6f55f4 /drivers/md
parent36a0456fbf2d9680bf9af81b39daf4a8e22cb1b8 (diff)
downloadlwn-3cf2e4ba74ca1bf5d8ad26cd18592f02b32964f5.tar.gz
lwn-3cf2e4ba74ca1bf5d8ad26cd18592f02b32964f5.zip
dm: export dm get md
Export dm_get_md() for the new thin provisioning target to use. Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 9836324e2118..6b6616a41baa 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -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)
{