Commit cabb6374 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Martin K. Petersen
Browse files
parent 8bfb89f6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -358,7 +358,7 @@ static int read_cap16(struct scsi_device *sdev, struct llun_info *lli)
	dev_dbg(dev, "%s: %ssending cmd(%02x)\n", __func__,
		retry_cnt ? "re" : "", scsi_cmd[0]);

	/* Drop the ioctl read semahpore across lengthy call */
	/* Drop the ioctl read semaphore across lengthy call */
	up_read(&cfg->ioctl_rwsem);
	result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_IN, cmd_buf,
				  CMD_BUFSIZE, to, CMD_RETRIES, &exec_args);
+1 −1
Original line number Diff line number Diff line
@@ -448,7 +448,7 @@ static int write_same16(struct scsi_device *sdev,
		put_unaligned_be32(ws_limit < left ? ws_limit : left,
				   &scsi_cmd[10]);

		/* Drop the ioctl read semahpore across lengthy call */
		/* Drop the ioctl read semaphore across lengthy call */
		up_read(&cfg->ioctl_rwsem);
		result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_OUT,
					  cmd_buf, CMD_BUFSIZE, to,