summaryrefslogtreecommitdiff
path: root/drivers/xen/gntdev.c
diff options
context:
space:
mode:
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>2013-01-15 07:35:40 +0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-01-16 01:00:52 +0400
commit99beae6cb8f4dd5dab81a370b79c3b1085848d89 (patch)
treefa508d4649e0046b318221254fb2c496ca51e818 /drivers/xen/gntdev.c
parent7bcc1ec07748cae3552dc9b46701c117926c8923 (diff)
downloadlinux-99beae6cb8f4dd5dab81a370b79c3b1085848d89.tar.xz
xen/privcmd: Fix mmap batch ioctl.
1. If any individual mapping error happens, the V1 case will mark *all* operations as failed. Fixed. 2. The err_array was allocated with kcalloc, resulting in potentially O(n) page allocations. Refactor code to not use this array. Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen/gntdev.c')
0 files changed, 0 insertions, 0 deletions