mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
dm: remove superfluous smp_mb
Since set_current_state() contains a memory barrier in it, an additional barrier isn't needed. Signed-off-by: Namhyung Kim <[email protected]> Signed-off-by: Alasdair G Kergon <[email protected]>
This commit is contained in:
committed by
Alasdair G Kergon
parent
71a16736a1
commit
fbdc86f3bd
@@ -2326,7 +2326,6 @@ static int dm_wait_for_completion(struct mapped_device *md, int interruptible)
|
||||
while (1) {
|
||||
set_current_state(interruptible);
|
||||
|
||||
smp_mb();
|
||||
if (!md_in_flight(md))
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user