commit | 74ed7e62289dc6d388996d7c8f89c2e7e95b9657 | [log] [tgz] |
---|---|---|
author | Joern Engel <joern@logfs.org> | Tue Sep 16 16:23:11 2014 -0400 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Oct 01 14:38:57 2014 -0700 |
tree | 50f7364b619c59b70868b3ebe5d538a5916afabc | |
parent | 8f83269048628d7b139dacbfc6cc97befcbdd2e9 [diff] |
target: remove some smp_mb__after_atomic()s atomic_inc_return() already does an implicit memory barrier and the second case was moved from an atomic to a plain flag operation. If a barrier were needed in the second case, it would have to be smp_mb(), not a variant optimized away for x86 and other architectures. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>