Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/iscsi/dist/src/lib the buffer is also used when...
details: https://anonhg.NetBSD.org/src/rev/1f619250af4c
branches: trunk
changeset: 332603:1f619250af4c
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Tue Sep 30 15:24:15 2014 +0000
description:
the buffer is also used when there is no input
diffstat:
external/bsd/iscsi/dist/src/lib/target.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (14 lines):
diff -r e83966aedd10 -r 1f619250af4c external/bsd/iscsi/dist/src/lib/target.c
--- a/external/bsd/iscsi/dist/src/lib/target.c Tue Sep 30 14:57:51 2014 +0000
+++ b/external/bsd/iscsi/dist/src/lib/target.c Tue Sep 30 15:24:15 2014 +0000
@@ -321,9 +321,7 @@
* there is input data and set the length of the input to
* either scsi_cmd.trans_len or scsi_cmd.bidi_trans_len,
* depending on whether scsi_cmd.output was set. */
- if (scsi_cmd.input) {
- scsi_cmd.send_data = sess->buff;
- }
+ scsi_cmd.send_data = sess->buff;
scsi_cmd.input = 0;
cmd.scsi_cmd = &scsi_cmd;
cmd.callback = NULL;
Home |
Main Index |
Thread Index |
Old Index