md/bitmap: move storage allocation from bitmap_load to bitmap_create.
authorNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:12 +0000 (13:55 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 22 May 2012 03:55:12 +0000 (13:55 +1000)
commitbc9891a8853842a19c33dda0ba02fbacf7da067f
tree6561027b0a61521b24786266855cba0e4dc730a1
parentd1244cb062750bdb2298ca2565239d3d8cbd91a8
md/bitmap: move storage allocation from bitmap_load to bitmap_create.

We should allocate memory for the storage-bitmap at create-time, not
load time.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c