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: NRoss Lagerwall <ross.lagerwall@citrix.com> Reviewed-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: NBoris Ostrovsky <boris.ostrovsky@oracle.com>
Showing
想要评论请 注册 或 登录