[PATCH 02/25] block: remove the blk_execute_rq return value

hch at lst.de hch at lst.de
Fri Apr 14 01:22:31 PDT 2017


On Thu, Apr 13, 2017 at 08:03:22PM +0000, Bart Van Assche wrote:
> That blk_execute_rq() call can only be reached if a few lines above 0 was
> assigned to the "error" variable. Since nfsd4_scsi_identify_device() returns
> the value of the "error" variable I think -EIO should be assigned to that
> variable before the "goto out_put_request" statement is reached.

You're right!  I'll fix it up.



More information about the Linux-nvme mailing list