diff options
author | NeilBrown <neilb@suse.de> | 2010-06-01 05:37:35 -0400 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-07-25 23:21:34 -0400 |
commit | 69e51b449d383e97b1b9f890f8378c96e9e17346 (patch) | |
tree | 650123fa4f08e8fa7f348a4ca875c59c129e5d84 /drivers/md/bitmap.h | |
parent | e384e58549a2e9a83071ad80280c1a9053cfd84c (diff) |
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>
Diffstat (limited to 'drivers/md/bitmap.h')
-rw-r--r-- | drivers/md/bitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bitmap.h b/drivers/md/bitmap.h index a7a11134268d..e872a7bad6b8 100644 --- a/drivers/md/bitmap.h +++ b/drivers/md/bitmap.h | |||
@@ -254,6 +254,7 @@ struct bitmap { | |||
254 | 254 | ||
255 | /* these are used only by md/bitmap */ | 255 | /* these are used only by md/bitmap */ |
256 | int bitmap_create(mddev_t *mddev); | 256 | int bitmap_create(mddev_t *mddev); |
257 | int bitmap_load(mddev_t *mddev); | ||
257 | void bitmap_flush(mddev_t *mddev); | 258 | void bitmap_flush(mddev_t *mddev); |
258 | void bitmap_destroy(mddev_t *mddev); | 259 | void bitmap_destroy(mddev_t *mddev); |
259 | 260 | ||