On 11/8/18 9:30 AM, Bart Van Assche wrote:
> 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:
It can, I'll drop it.
> Reviewed-by: Bart Van Assche <[email protected]>
Thanks
--
Jens Axboe