]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Look up LUN for abort requests
authorSteve Hodgson <steve@purestorage.com>
Fri, 16 Nov 2012 16:06:17 +0000 (08:06 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 28 Nov 2012 06:49:17 +0000 (22:49 -0800)
commit61cc60bf93f50ed0407817c43f359d41789fa802
tree3ada5b691da89f035d637e83f75f42710bd01449
parent3f2227986730660bb54c230c7a58c109318aacef
qla2xxx: Look up LUN for abort requests

Search through the list of pending commands on the session list to find
the command the initiator is actually aborting, so that we can pass the
correct LUN to the core TMR handling code.

(nab: Allow abort requests to work to LUN=0 with mainline target code)

Signed-off-by: Steve Hodgson <steve@purestorage.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
drivers/scsi/qla2xxx/qla_target.c