aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorStefan Bader <stefan.bader@canonical.com>2008-02-14 09:55:49 -0500
committerJohn Rigby <john.rigby@linaro.org>2012-03-17 17:02:03 -0600
commitdcc645a2bf6e25792994faf43882d83b1457170f (patch)
tree5165730f1b0b29f9cbf2770e55a44e73de2f1c95 /drivers
parenta163176bc1e0b5eb86aad0adc8a66174889de28c (diff)
UBUNTU: ubuntu: dm-raid4-5 -- (no-up) Export dm_disk function of device-mapper
This function is externally used by the dm-raid4-5 module. Signed-off-by: Stefan Bader <stefan.bader@canonical.com> Signed-off-by: Ben Collins <ben.collins@canonical.com>
Diffstat (limited to 'drivers')
-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 b89c548ec3f..76656365be8 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -2652,6 +2652,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)
{