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

[Xen-changelog] [linux-2.6.18-xen] xen: vscsi >2TB build fix



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1296041843 0
# Node ID 647366713aefe653d6892cba750bdfda5b180f7e
# Parent  49c12b99f537810f985f76a1d47039ff6c8b8f7a
xen: vscsi >2TB build fix

MAINTENANCE_{IN,OUT} got introduced only in 2.6.19, but I failed to
notice that because we have this backported to our 2.6.16-based
kernels.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/scsiback/emulate.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 49c12b99f537 -r 647366713aef drivers/xen/scsiback/emulate.c
--- a/drivers/xen/scsiback/emulate.c    Tue Jan 25 14:09:27 2011 +0000
+++ b/drivers/xen/scsiback/emulate.c    Wed Jan 26 11:37:23 2011 +0000
@@ -452,8 +452,10 @@ void scsiback_emulation_init(void)
        /*NO_EMULATE(PERSISTENT_RESERVE_IN); *//*0x5e*/
        /*NO_EMULATE(PERSISTENT_RESERVE_OUT); *//*0x5f*/
        /*           REPORT_LUNS             *//*0xa0*//*Full emulaiton*/
+#ifdef MAINTENANCE_IN
        NO_EMULATE(MAINTENANCE_IN);           /*0xa3*/ /* IFT alua */
        NO_EMULATE(MAINTENANCE_OUT);       /*0xa4*/ /* IFT alua */
+#endif
        NO_EMULATE(MOVE_MEDIUM);           /*0xa5*/ /* ch */
        NO_EMULATE(EXCHANGE_MEDIUM);       /*0xa6*/ /* ch */
        /*NO_EMULATE(READ_12);               *//*0xa8*/

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.