[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] scsifront: undo broken version check


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-linux-2.6.18-xen <patchbot@xxxxxxx>
  • Date: Wed, 14 Jan 2015 11:11:02 +0000
  • Delivery-date: Wed, 14 Jan 2015 11:11:08 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# HG changeset patch
# User Jan Beulich <jbeulich@xxxxxxxx>
# Date 1421233546 -3600
# Node ID 3feb5ddb543433f1d1d36f8e27ce3d9c113b1704
# Parent  98807b11f32914c956e14ece2e6d5541dc70148d
scsifront: undo broken version check

Revert erroneous version check added by c/s 1273:3015a92b2b53 around
lock re-acquire.

Reported-by: Juergen Gross <jgross@xxxxxxxx>
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
---


diff -r 98807b11f329 -r 3feb5ddb5434 drivers/xen/scsifront/scsifront.c
--- a/drivers/xen/scsifront/scsifront.c Wed Jan 14 11:11:46 2015 +0100
+++ b/drivers/xen/scsifront/scsifront.c Wed Jan 14 12:05:46 2015 +0100
@@ -461,9 +461,7 @@ static int scsifront_dev_reset_handler(s
                spin_unlock_irq(host->host_lock);
                err = wait_event_interruptible(info->wq_sync,
                                               !info->waiting_sync);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)
                spin_lock_irq(host->host_lock);
-#endif
        }
 
        ring_req      = scsifront_pre_request(info);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.