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 421c9f02d8ca..82371412029f 100644
--- a/drivers/md/dm.c
+++ b/drivers/md/dm.c
@@ -1330,8 +1330,8 @@ void dm_put(struct mapped_device *md)
1330 dm_table_presuspend_targets(map); 1330 dm_table_presuspend_targets(map);
1331 dm_table_postsuspend_targets(map); 1331 dm_table_postsuspend_targets(map);
1332 } 1332 }
1333 __unbind(md);
1334 dm_table_put(map); 1333 dm_table_put(map);
1334 __unbind(md);
1335 free_dev(md); 1335 free_dev(md);
1336 } 1336 }
1337} 1337}