lfsr: don't pass in last value to lfsr_next()
authorJens Axboe <axboe@fb.com>
Mon, 24 Nov 2014 01:41:11 +0000 (18:41 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 24 Nov 2014 01:41:11 +0000 (18:41 -0700)
commit6f49f8bc80fbeff3d24cf84278d2611db0ec6f6c
tree0fd2fbe7ad53a17f307c991d4f106b79c4170201
parentdf8fb6097058098f1c2f7c2cf4019640561768df
lfsr: don't pass in last value to lfsr_next()

It's cached in the 'fl' struct. This means we can move the max
block calculation outside if the lfsr part, too.

Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c
lib/lfsr.c
lib/lfsr.h