diff options
| -rw-r--r-- | drivers/md/dm-mpath.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 84cdb700a247..fa72f0153206 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c | |||
| @@ -752,6 +752,8 @@ static int multipath_ctr(struct dm_target *ti, unsigned int argc, | |||
| 752 | static void multipath_dtr(struct dm_target *ti) | 752 | static void multipath_dtr(struct dm_target *ti) |
| 753 | { | 753 | { |
| 754 | struct multipath *m = (struct multipath *) ti->private; | 754 | struct multipath *m = (struct multipath *) ti->private; |
| 755 | |||
| 756 | flush_workqueue(kmultipathd); | ||
| 755 | free_multipath(m); | 757 | free_multipath(m); |
| 756 | } | 758 | } |
| 757 | 759 | ||
