summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorEdward Goggin <egoggin@emc.com>2007-05-09 11:32:56 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-09 21:30:46 +0200
commit79eb885c96b5ccf8bbffd0dddc4c15a5dd436a1c (patch)
tree1bae1cea97907415f19a0009aaa8e11e63fef34c /drivers/md/dm.c
parentdm crypt: add null iv (diff)
downloadlinux-79eb885c96b5ccf8bbffd0dddc4c15a5dd436a1c.tar.xz
linux-79eb885c96b5ccf8bbffd0dddc4c15a5dd436a1c.zip
dm mpath: log device name
Make the mapped device structure accessible to hardware handlers so error messages can include the device name. Signed-off-by: Edward Goggin <egoggin@emc.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 11a98df298ec..2717a355dc5b 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1236,6 +1236,7 @@ void dm_put(struct mapped_device *md)
free_dev(md);
}
}
+EXPORT_SYMBOL_GPL(dm_put);
/*
* Process the deferred bios