|
@@ -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
|
|
* b) the queue had IO stats enabled when this request was started, and
|
|
* c) it's a file system request
|
|
* 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 &&
|
|
return rq->rq_disk &&
|
|
(rq->rq_flags & RQF_IO_STAT) &&
|
|
(rq->rq_flags & RQF_IO_STAT) &&
|