ia64/xen-unstable

changeset 512:ee937ab313ce

bitkeeper revision 1.279 (3f093681UVtkHSoiKBAfzF-0PPQOkA)

Oops... make sure we only revoke extents on the specified disk.
author sos22@labyrinth.cl.cam.ac.uk
date Mon Jul 07 08:59:45 2003 +0000 (2003-07-07)
parents f47cba6ba7af
children bb4c013723e9
files xen/drivers/block/xen_physdisk.c
line diff
     1.1 --- a/xen/drivers/block/xen_physdisk.c	Mon Jul 07 08:54:00 2003 +0000
     1.2 +++ b/xen/drivers/block/xen_physdisk.c	Mon Jul 07 08:59:45 2003 +0000
     1.3 @@ -84,7 +84,8 @@ static void xen_physdisk_revoke_access(u
     1.4  			 list);
     1.5      ace_end = cur_ace->start_sect + cur_ace->n_sectors;
     1.6      if (cur_ace->start_sect >= kill_zone_end ||
     1.7 -	ace_end <= start_sect)
     1.8 +	ace_end <= start_sect ||
     1.9 +	(cur_ace->device & ~0x1f) != (dev & ~0x1f))
    1.10        continue;
    1.11      
    1.12      DPRINTK("Killing ace [%lx, %lx) against kill zone [%lx, %lx)\n",