diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2014-06-06 19:43:49 +0200 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-02-23 16:57:57 +0100 |
commit | f9209a323547f054c7439a3bf67c45e64a054bdd (patch) | |
tree | 74049528c1addac29ced018eca283352c33da750 /drivers/md/bitmap.h | |
parent | Gather on-going resync information of other nodes (diff) | |
download | linux-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.h | 2 |
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); |