Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/iscsi Remove an erroneous change that crept in. It ...



details:   https://anonhg.NetBSD.org/src/rev/7a8b2663b9e8
branches:  trunk
changeset: 781478:7a8b2663b9e8
user:      mhitch <mhitch%NetBSD.org@localhost>
date:      Sun Sep 09 06:06:29 2012 +0000

description:
Remove an erroneous change that crept in.  It was part of an earlier,
incorrect fix I had done for writing > 64K bytes.  It was still in the
set of changes mlelstv had committed.  I noticed it at the time, but did
not think it was problematic - until now.  This fixes the ccb corruption
I was seeing and fixes PR kern/46896.

diffstat:

 sys/dev/iscsi/iscsi_send.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 5de0361b95f5 -r 7a8b2663b9e8 sys/dev/iscsi/iscsi_send.c
--- a/sys/dev/iscsi/iscsi_send.c        Sun Sep 09 04:27:49 2012 +0000
+++ b/sys/dev/iscsi/iscsi_send.c        Sun Sep 09 06:06:29 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iscsi_send.c,v 1.6 2012/08/12 13:26:18 mlelstv Exp $   */
+/*     $NetBSD: iscsi_send.c,v 1.7 2012/09/09 06:06:29 mhitch Exp $    */
 
 /*-
  * Copyright (c) 2004,2005,2006,2011 The NetBSD Foundation, Inc.
@@ -1510,7 +1510,6 @@
        ccb->lun += 0x1000000000000LL;
        ccb->cmd[1] += 0x10;
 #endif
-       ccb->disp = CCBDISP_SCSIPI;
        send_command(ccb, CCBDISP_SCSIPI, waitok, FALSE);
 }
 



Home | Main Index | Thread Index | Old Index