summaryrefslogtreecommitdiffstats
path: root/drivers/md/bitmap.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2014-06-06 12:43:49 -0500
committerGoldwyn Rodrigues <rgoldwyn@suse.com>2015-02-23 09:57:57 -0600
commitf9209a323547f054c7439a3bf67c45e64a054bdd (patch)
tree74049528c1addac29ced018eca283352c33da750 /drivers/md/bitmap.h
parent96ae923ab659e37dd5fc1e05ecbf654e2f94bcbe (diff)
downloadlinux-stable-f9209a323547f054c7439a3bf67c45e64a054bdd.tar.gz
linux-stable-f9209a323547f054c7439a3bf67c45e64a054bdd.tar.bz2
linux-stable-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);