]> git.baikalelectronics.ru Git - kernel.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)
commitaf79df1b617b177bdd1dfcb7e1881ede12967c80
tree06e41f5240a98040a2a6eed30ab75c0c4213baf2
parent5b2ff3794b157713ea4c3d4286d9bbc039ed6725
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