target: remove the task_size field in struct se_task
authorChristoph Hellwig <hch@infradead.org>
Mon, 23 Apr 2012 15:35:31 +0000 (11:35 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 6 May 2012 22:03:41 +0000 (15:03 -0700)
commit7a83aa4e7b26ba61b9dc98d5c0bf725f4df0043f
treedc2c7e29f7850e238e5f752aaeb4bbaa8dd69f94
parent72a0e5e2e2e6b577343c79013611ad5701e94482
target: remove the task_size field in struct se_task

Now that we don't split commands the size field in the task is always
equivalent to the one in the CDB, even in cases where we have two tasks
due to a BIDI transfer.  Just refer the the size in the command instead
of duplicating it in the task.

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