md/bitmap: separate out loading a bitmap from initialising the structures.
authorNeilBrown <neilb@suse.de>
Tue, 1 Jun 2010 09:37:35 +0000 (19:37 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 26 Jul 2010 03:21:34 +0000 (13:21 +1000)
dm makes this distinction between ->ctr and ->resume, so we need to
too.

Also get the new bitmap_load to clear out the bitmap first, as this is
most consistent with the dm suspend/resume approach

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c
drivers/md/bitmap.h
drivers/md/md.c

Simple merge
Simple merge
diff --cc drivers/md/md.c
Simple merge