block: change return type to bool
authorChengguang Xu <cgxu519@gmx.com>
Thu, 16 Aug 2018 14:51:40 +0000 (22:51 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 16 Aug 2018 19:44:17 +0000 (13:44 -0600)
commit599d067dd3c1b9697b786c992b17cd6529c0459c
tree452a4a791d882edc4efa0fedd0663785b798fef6
parentfc8ebd01deeb12728c83381f6ec923e4a192ffd3
block: change return type to bool

Because blk_do_io_stat() only does a judgement about the request
contributes to IO statistics, it better changes return type to bool.

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