axmap: use 64-bit type for number of bits
authorJens Axboe <axboe@kernel.dk>
Mon, 17 Sep 2018 03:30:39 +0000 (21:30 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 17 Sep 2018 03:30:39 +0000 (21:30 -0600)
commit604d3f5bd9f2b985568593c23f8292cbc7f4044c
treea1e863b9b81d67bdc84aff3df41be592bbbc715d
parent84a815f5535cc9ac56e6c45926f0a2f4fe7c4b3f
axmap: use 64-bit type for number of bits

For huge devices, we can overflow on a 32-bit build of fio.

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