rand: add rand64_between()
authorJens Axboe <axboe@kernel.dk>
Tue, 12 Jun 2018 14:10:47 +0000 (08:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 12 Jun 2018 14:48:55 +0000 (08:48 -0600)
commit56c77c10f79d7be492aa0fb137786978c3596682
treee71abd489c60f02f97bd703f7a7e1da41e795a47
parent49050b56681b17968256702a7a3ec0f545c7dad8
rand: add rand64_between()

For some reason we only had the 32-bit variant, and there's
a use case for the 64-bit version. Add that, and add a
32/64 agnostic helper that can be called.

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