mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 08:56:41 +07: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 <namhyung@gmail.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user