commit | 951a010233625b77cde3430b4b8785a9a22968d1 | [log] [tgz] |
---|---|---|
author | Ross Lagerwall <ross.lagerwall@citrix.com> | Tue Jan 09 12:10:21 2018 +0000 |
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | Wed Jan 10 08:38:17 2018 -0500 |
tree | 727e81424bd99be25ad0d9ac96114a847bb23f1a | |
parent | 66a640e7823da803fdb68d5d88f7a8fbd11c29e6 [diff] |
xen/gntdev: Fix off-by-one error when unmapping with holes If the requested range has a hole, the calculation of the number of pages to unmap is off by one. Fix it. Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>