commit | 4580cf38483790a4304a15328303566a054d4ea5 | [log] [tgz] |
---|---|---|
author | Andy Grover <agrover@redhat.com> | Tue Apr 03 15:51:08 2012 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Apr 14 17:40:34 2012 -0700 |
tree | e0f237256ec32ba4c9e98ecdbd36e4e752a7cbac | |
parent | c6037cc546ca10cbdc5b60f0598b4ddcb181fe5d [diff] |
target/iscsi: Remove unneeded locking from iscsi_target_tx_thread When processing immediate queue, we're switching on a local variable so it's not necessary to lock around it. However, we are modifying cmd->i_state in two spots, so lock around those parts only. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>