bitmap: fix off-by-8 allocation error
authorJens Axboe <axboe@kernel.dk>
Wed, 28 Nov 2012 18:36:16 +0000 (19:36 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 28 Nov 2012 18:36:16 +0000 (19:36 +0100)
commitdbfb51e3e742a2bfd151dc46aaf9e944da92a13b
tree70c0b70ffbf909d760b2a2f13830a6517eb92080
parentc4fc0ff1a313de8f113689950d36eabea65ce310
bitmap: fix off-by-8 allocation error

Was multiplying by the bit-size, not the byte-size. No algorithmic
changes, we never used the 7/8ths of the memory at the end...

Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/bitmap.c