]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
target: pass the se_task to the CDB emulation callback
authorChristoph Hellwig <hch@infradead.org>
Thu, 3 Nov 2011 21:50:42 +0000 (17:50 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 4 Nov 2011 08:00:17 +0000 (08:00 +0000)
commite76a35d6c809bd1638e3b1b535bb780ac731c380
treea67bbbbc16cb4e612015da8b0f86fe981d1a5f77
parent617c0e06c1b30b799d8b25f92eefdc1b098cb9f8
target: pass the se_task to the CDB emulation callback

We want to be able to handle all CDBs through it and remove hacks like
always using the first task in a CDB in target_report_luns.

Also rename the callback to ->execute_task to better describe its use.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_alua.c
drivers/target/target_core_alua.h
drivers/target/target_core_device.c
drivers/target/target_core_pr.c
drivers/target/target_core_pr.h
drivers/target/target_core_transport.c
include/target/target_core_base.h
include/target/target_core_device.h