]> git.karo-electronics.de Git - linux-beck.git/commit
target: remove the task_lba field in struct se_task
authorChristoph Hellwig <hch@infradead.org>
Mon, 23 Apr 2012 15:35:30 +0000 (11:35 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 6 May 2012 22:02:59 +0000 (15:02 -0700)
commit72a0e5e2e2e6b577343c79013611ad5701e94482
tree06e41f5240a98040a2a6eed30ab75c0c4213baf2
parented3102c678c6274933948f9097bb4e2b314e5f82
target: remove the task_lba field in struct se_task

Now that we don't split commands the lba 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 lba 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_rd.c
drivers/target/target_core_transport.c
include/target/target_core_base.h