On Thu, 2018-11-08 at 09:06 -0700, Jens Axboe wrote:
> +static bool blk_mq_check_busy(struct blk_mq_hw_ctx *hctx, struct request *rq,
> +                           void *priv, bool reserved)
> +{
> +     /*
> +      * If we find a request, we know the queue is busy. Return false
> +      * to stop the iteration.
> +      */
> +     if (rq->q == hctx->queue) {
> +             bool *busy = (bool *) priv;

I think the "(bool *)" cast can be left out. Anyway:

Reviewed-by: Bart Van Assche <bvanass...@acm.org>

Reply via email to