commit | 1714df7f2cee6a741c3ed24231ec5db25b90633a | [log] [tgz] |
---|---|---|
author | Andres Lagar-Cavilla <andres@lagarcavilla.org> | Thu Sep 06 13:24:39 2012 -0400 |
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | Thu Sep 06 16:14:36 2012 -0400 |
tree | e86ef69a2568aae9ef0033fdb53f2cde738db9d8 | |
parent | ceb90fa0a8008059ecbbf9114cb89dc71a730bb6 [diff] |
xen/privcmd: Fix mmap batch ioctl error status copy back. Copy back of per-slot error codes is only necessary for V2. V1 does not provide an error array, so copyback will unconditionally set the global rc to EFAULT. Only copyback for V2. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>