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.