diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-12-01 12:13:00 -0600 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-12-03 10:09:19 -0600 |
commit | d3acf0226debeae22d87808f8f298386bd08e391 (patch) | |
tree | c4b63cd902f94d561126d65ff3e56a3c6463fa2d /fs/hostfs | |
parent | b21227c5fcadab206e2a2373e5b288a351919abb (diff) |
[SCSI] libiscsi REGRESSION: fix passthrough support with older iscsi tools
This regression was added in 2.6.27, when the mtask and ctask were
merged into the the common task struct. The patch applies to
scsi-rc-fixes, but also applies to 2.6.27 with some offsets.
The problem is that __iscsi_conn_send_pdu assumes that userspace was
not sending nops with the format it is checking for in the "if" below.
It turns out that older userspace tools are. This patch moves the
setting of the internal ping_task tracker (it tracks libiscsi current
outstanding nop) to iscsi_send_nopout which is only used by kernel callers.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions