direct-io.hg
changeset 11727:411c6aca255c
[PRIVCMD] Fix trivial bug introduced in IOCTL_PRIVCMD_MMAP.
Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
author | kfraser@localhost.localdomain |
---|---|
date | Mon Oct 09 13:46:34 2006 +0100 (2006-10-09) |
parents | e1f3af226a8e |
children | 30f13007be3f |
files | linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c |
line diff
1.1 --- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c Mon Oct 09 10:56:17 2006 +0100 1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c Mon Oct 09 13:46:34 2006 +0100 1.3 @@ -130,7 +130,7 @@ static int privcmd_ioctl(struct inode *i 1.4 1.5 va = vma->vm_start; 1.6 1.7 - for (i = 0; i < mmapcmd.num; i++, p++) { 1.8 + for (i = 0; i < mmapcmd.num; i++) { 1.9 rc = -EFAULT; 1.10 if (copy_from_user(&msg, p, sizeof(msg))) 1.11 goto mmap_out;