diff options
Diffstat (limited to 'drivers/md/dm-mpath.c')
-rw-r--r-- | drivers/md/dm-mpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 406091f9692b..fcc59c3f756e 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
@@ -920,7 +920,7 @@ static void flush_multipath_work(struct multipath *m) | |||
920 | flush_workqueue(kmpath_handlerd); | 920 | flush_workqueue(kmpath_handlerd); |
921 | multipath_wait_for_pg_init_completion(m); | 921 | multipath_wait_for_pg_init_completion(m); |
922 | flush_workqueue(kmultipathd); | 922 | flush_workqueue(kmultipathd); |
923 | flush_scheduled_work(); | 923 | flush_work_sync(&m->trigger_event); |
924 | } | 924 | } |
925 | 925 | ||
926 | static void multipath_dtr(struct dm_target *ti) | 926 | static void multipath_dtr(struct dm_target *ti) |