> lio_random_methods(long curr_mask)
> {
> int mask=0;
> - long random_bit();
> + long random_bit(long);
This should use the prototype from include/random_range.h instead.
Otherwise looks good to me,
Reviewed-by: Christoph Hellwig <hch at lst.de>