aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-10-31 16:18:56 -0400
committerAlasdair G Kergon <agk@redhat.com>2011-10-31 16:18:56 -0400
commitfbdc86f3bd597e108fa03d998132d04fcfe1d669 (patch)
tree3d0ad8ea43576c0b57523a71d345a209f6ffd6fa /drivers/md
parent71a16736a15e3fd11d283c42aa86bf704f6d25ff (diff)
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 52a8fd8eb17f..2fe3017ba97c 100644
--- 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)
2326 while (1) { 2326 while (1) {
2327 set_current_state(interruptible); 2327 set_current_state(interruptible);
2328 2328
2329 smp_mb();
2330 if (!md_in_flight(md)) 2329 if (!md_in_flight(md))
2331 break; 2330 break;
2332 2331