diff options
-rw-r--r-- | drivers/md/dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 40e257fadac9..f2b993c43359 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -2550,10 +2550,10 @@ int dm_suspend(struct mapped_device *md, unsigned suspend_flags) | |||
2550 | * requests are being added to md->deferred list. | 2550 | * requests are being added to md->deferred list. |
2551 | */ | 2551 | */ |
2552 | 2552 | ||
2553 | dm_table_postsuspend_targets(map); | ||
2554 | |||
2555 | set_bit(DMF_SUSPENDED, &md->flags); | 2553 | set_bit(DMF_SUSPENDED, &md->flags); |
2556 | 2554 | ||
2555 | dm_table_postsuspend_targets(map); | ||
2556 | |||
2557 | out: | 2557 | out: |
2558 | dm_table_put(map); | 2558 | dm_table_put(map); |
2559 | 2559 | ||