summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2011-10-31 21:19:06 +0100
committerAlasdair G Kergon <agk@redhat.com>2011-10-31 21:19:06 +0100
commit3cf2e4ba74ca1bf5d8ad26cd18592f02b32964f5 (patch)
tree5520a8bcdbabc01956ce774724388e013b6f55f4 /drivers/md/dm.c
parentdm table: add immutable feature (diff)
downloadlinux-3cf2e4ba74ca1bf5d8ad26cd18592f02b32964f5.tar.xz
linux-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/dm.c')
-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)
{