blk-throttle: return proper bool type to caller instead of 0/1
authorChengguang Xu <cgxu519@gmx.com>
Tue, 29 May 2018 10:32:44 +0000 (18:32 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 May 2018 18:48:22 +0000 (12:48 -0600)
commit0b6bad7d669ef2abd3b9e1f8cee1fbd448abbc5c
tree62697568a430844c9903b658859a955e4505580f
parentd250bf4e776ff09d51c97f83c7a19f65a9e1c5a5
blk-throttle: return proper bool type to caller instead of 0/1

Change to return true/false only for bool type return code.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-throttle.c