Loading block/blk.h +1 −1 Original line number Diff line number Diff line Loading @@ -297,7 +297,7 @@ extern int blk_update_nr_requests(struct request_queue *, unsigned int); * b) the queue had IO stats enabled when this request was started, and * c) it's a file system request */ static inline int blk_do_io_stat(struct request *rq) static inline bool blk_do_io_stat(struct request *rq) { return rq->rq_disk && (rq->rq_flags & RQF_IO_STAT) && Loading Loading
block/blk.h +1 −1 Original line number Diff line number Diff line Loading @@ -297,7 +297,7 @@ extern int blk_update_nr_requests(struct request_queue *, unsigned int); * b) the queue had IO stats enabled when this request was started, and * c) it's a file system request */ static inline int blk_do_io_stat(struct request *rq) static inline bool blk_do_io_stat(struct request *rq) { return rq->rq_disk && (rq->rq_flags & RQF_IO_STAT) && Loading