target: make more use of the task_flags field in se_task
authorChristoph Hellwig <hch@infradead.org>
Wed, 12 Oct 2011 15:07:03 +0000 (11:07 -0400)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:21:06 +0000 (03:21 +0000)
Replace various atomic_t variables that were mostly under t_state_lock
with new flags in task_flags.  Note that the execution error path
didn't take t_state_lock before, so add it there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found