commit | 01460f3520c100010aacc8f8500cafcb17ce4665 | [log] [tgz] |
---|---|---|
author | Benjamin Marzinski <bmarzins@redhat.com> | Fri Oct 10 13:36:57 2008 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Fri Oct 10 13:36:57 2008 +0100 |
tree | 9f883266f2b0623a876635746d8e2cf7a136a6fc | |
parent | 3fa8749e584b55f1180411ab1b51117190bac1e5 [diff] |
dm mpath: use more error codes This patch allows path errors from the multipath ctr function to propagate up to userspace as errno values from the ioctl() call. This is in response to https://www.redhat.com/archives/dm-devel/2008-May/msg00000.html and https://bugzilla.redhat.com/show_bug.cgi?id=444421 The patch only lets through the errors that it needs to in order to get the path errors from parse_path(). Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>