From: Christoph Hellwig Date: Wed, 23 Nov 2011 11:54:36 +0000 (-0500) Subject: target: make the se_task task_state_active a normal bool X-Git-Tag: v3.3-rc1~7^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1880807adb21d741f08b747956c90bf4a6f95fbf;p=pandora-kernel.git 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 Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed