From: Christoph Hellwig Date: Wed, 21 Dec 2011 19:13:47 +0000 (-0500) Subject: target: replace various cmd flags with a transport state X-Git-Tag: v3.4-rc1~146^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d680f3b74dd6f0f57569eeeee8c257790ceaa96;p=pandora-kernel.git target: replace various cmd flags with a transport state Replace various atomic_ts used as flags in struct se_cmd with a single transport_state bitmap that requires t_state_lock to be held for modifications. In the target core that assumption generally is true, but some recently added code in the SRP target had to grow new lock calls. I can't say I like the way how it messes with the command state directly, but let's leave that for later. (Re-add missing ib_srpt.c changes that nab dropped..) Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed