]> git.baikalelectronics.ru Git - kernel.git/commit
target: Fix incorrect transport_sent usage
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 01:16:13 +0000 (18:16 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:22:06 +0000 (03:22 +0000)
commit77715c75878f5bd7e0ccf0eea03a910d6814e436
tree075991035ca3410cdd2a9110d2cde1c1ca485e4d
parent70901497c93496a603ca06959fd6fee458b9cd14
target: Fix incorrect transport_sent usage

This patch converts target-core to use se_cmd->t_transport_sent instead of
a duplicated se_cmd->transport_sent member in a handful of locations.
It also updates iscsi_target to properly use ->t_transport_sent instead of
it's own iscsi_cmd_t->transport_sent value that was not being assigned.

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