summaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2014-06-06 19:43:49 +0200
committerGoldwyn Rodrigues <rgoldwyn@suse.com>2015-02-23 16:57:57 +0100
commitf9209a323547f054c7439a3bf67c45e64a054bdd (patch)
tree74049528c1addac29ced018eca283352c33da750 /drivers/md/bitmap.h
parentGather on-going resync information of other nodes (diff)
downloadlinux-f9209a323547f054c7439a3bf67c45e64a054bdd.tar.xz
linux-f9209a323547f054c7439a3bf67c45e64a054bdd.zip
bitmap_create returns bitmap pointer
This is done to have multiple bitmaps open at the same time. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/bitmap.h')
-rw-r--r--drivers/md/bitmap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bitmap.h b/drivers/md/bitmap.h
index 4e9acb08bbe0..67c7f77c67dd 100644
--- a/drivers/md/bitmap.h
+++ b/drivers/md/bitmap.h
@@ -233,7 +233,7 @@ struct bitmap {
/* the bitmap API */
/* these are used only by md/bitmap */
-int bitmap_create(struct mddev *mddev);
+struct bitmap *bitmap_create(struct mddev *mddev, int slot);
int bitmap_load(struct mddev *mddev);
void bitmap_flush(struct mddev *mddev);
void bitmap_destroy(struct mddev *mddev);