Bart,

> Since nr_bytes == blk_rq_bytes(rq) == rq->__data_len, the
> rq->__data_len = nr_bytes assignment does not modify the value of
> rq->__data_len. Hence remove that assignment. Note: the code in
> sd_done() that sets the residual to zero for zone report requests
> is not affected by this patch.

Applied to 4.19/scsi-queue, thanks!

-- 
Martin K. Petersen      Oracle Linux Engineering

Reply via email to