summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorChristoph Hellwig2011-11-23 12:54:36 +0100
committerNicholas Bellinger2011-12-14 12:27:02 +0100
commit1880807adb21d741f08b747956c90bf4a6f95fbf (patch)
treefb3815bf85679116bb455ded1a678049950a3d9f /usr
parenttarget: remove the se_task task_error_status field (diff)
downloadkernel-qcow2-linux-1880807adb21d741f08b747956c90bf4a6f95fbf.tar.gz
kernel-qcow2-linux-1880807adb21d741f08b747956c90bf4a6f95fbf.tar.xz
kernel-qcow2-linux-1880807adb21d741f08b747956c90bf4a6f95fbf.zip
target: make the se_task task_state_active a normal bool
There is no need to make task_state_active an atomic_t given that it is always set under the execute_task_lock so we can make it a simple bool. Also rename it to t_state_active to be closer to the list it guards, and make sure all checks before the list addion/removal actually happen under execute_task_lock. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions