From: thornber@redhat.com

dm_resume: dm_table_unplug_all() was being called on md->map, rather than the
'map' we carefully took a reference on earlier on in the function.


---

 25-akpm/drivers/md/dm.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/md/dm.c~dm-unplugging-fix drivers/md/dm.c
--- 25/drivers/md/dm.c~dm-unplugging-fix	Tue Apr  6 15:24:08 2004
+++ 25-akpm/drivers/md/dm.c	Tue Apr  6 15:24:20 2004
@@ -963,7 +963,7 @@ int dm_resume(struct mapped_device *md)
 	def = bio_list_get(&md->deferred);
 	__flush_deferred_io(md, def);
 	up_write(&md->lock);
-	dm_table_unplug_all(md->map);
+	dm_table_unplug_all(map);
 	dm_table_put(map);
 
 	return 0;

_