OSDN Git Service

sbitmap: warn if using smaller shallow depth than was setup
authorOmar Sandoval <osandov@fb.com>
Thu, 10 May 2018 00:29:24 +0000 (17:29 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 May 2018 17:27:52 +0000 (11:27 -0600)
commit61445b56d031bc12feafb477848cf4ef9a725fc9
treef4e6aef2571f9566c287342f4fe0fc9fa37c3a61
parent2882064076c80ed643fe9c78ed7d493446bc5e0d
sbitmap: warn if using smaller shallow depth than was setup

Make sure the user passed the right value to
sbitmap_queue_min_shallow_depth().

Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/sbitmap.c