aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r--drivers/md/dm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c
index 455e64916498..2db768e4553f 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -2447,7 +2447,7 @@ static void dm_wq_work(struct work_struct *work)
2447static void dm_queue_flush(struct mapped_device *md) 2447static void dm_queue_flush(struct mapped_device *md)
2448{ 2448{
2449 clear_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags); 2449 clear_bit(DMF_BLOCK_IO_FOR_SUSPEND, &md->flags);
2450 smp_mb__after_clear_bit(); 2450 smp_mb__after_atomic();
2451 queue_work(md->wq, &md->work); 2451 queue_work(md->wq, &md->work);
2452} 2452}
2453 2453