]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:45:57 +0000 (08:45 -0800)
commitc6e74389447ce2f0fb7f4ed917039dd65ac09b8d
tree8f13a5ece5895a7f5478e844d788976a93a9fada
parent972d1d6d45c82772dd32c2feeba3a067eb52ce70
qla2xxx: Look up LUN for abort requests

commit 06e97b489006f28e23bb028febfa1c01c266d676 upstream.

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>
Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/qla2xxx/qla_target.c