projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71a1673
)
dm: remove superfluous smp_mb
author
Namhyung Kim
<namhyung@gmail.com>
Mon, 31 Oct 2011 20:18:56 +0000
(20:18 +0000)
committer
Alasdair G Kergon
<agk@redhat.com>
Mon, 31 Oct 2011 20:18:56 +0000
(20:18 +0000)
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>
drivers/md/dm.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index
52a8fd8
..
2fe3017
100644
(file)
--- a/
drivers/md/dm.c
+++ b/
drivers/md/dm.c
@@
-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;