]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit77bc96b4bac5b9af882c1dc117a58927c63ddc46
tree452a4a791d882edc4efa0fedd0663785b798fef6
parentb4989bc2230d49dea1a4449299b1638c271036a9
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