]> 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)
commit86e987d4c2abf671c489b6eb263e7210639545be
tree62697568a430844c9903b658859a955e4505580f
parentbab43d3b6bf063e25c175939bd66285aa456541d
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