]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83a13482b5c383055488049b36f06ee284f76d24
tree62697568a430844c9903b658859a955e4505580f
parent93351208254abefa1015cf1ad866f79df4e2f306
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