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)
commit69e51b449d383e97b1b9f890f8378c96e9e17346
tree650123fa4f08e8fa7f348a4ca875c59c129e5d84
parente384e58549a2e9a83071ad80280c1a9053cfd84c
md/bitmap:  separate out loading a bitmap from initialising the structures.

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