aboutsummaryrefslogtreecommitdiffstats
path: root/xenolinux-2.4.24-sparse
diff options
context:
space:
mode:
Diffstat (limited to 'xenolinux-2.4.24-sparse')
-rw-r--r--xenolinux-2.4.24-sparse/arch/xeno/drivers/block/xl_vbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xenolinux-2.4.24-sparse/arch/xeno/drivers/block/xl_vbd.c b/xenolinux-2.4.24-sparse/arch/xeno/drivers/block/xl_vbd.c
index a927df86bc..b106c57e69 100644
--- a/xenolinux-2.4.24-sparse/arch/xeno/drivers/block/xl_vbd.c
+++ b/xenolinux-2.4.24-sparse/arch/xeno/drivers/block/xl_vbd.c
@@ -457,7 +457,7 @@ void xlvbd_update_vbds(void)
else
{
if ( (memcmp(&old_info[i], &new_info[j], sizeof(xen_disk_t)) == 0) ||
- (xlvbd_remove_device(old_info[i].device) == 0) )
+ (xlvbd_remove_device(old_info[i].device) != 0) )
memcpy(&merged_info[k++], &old_info[i], sizeof(xen_disk_t));
else if ( xlvbd_init_device(&new_info[j]) == 0 )
memcpy(&merged_info[k++], &new_info[j], sizeof(xen_disk_t));