Commit fa8ecc35 authored by Kai Mäkisara's avatar Kai Mäkisara Committed by James Bottomley

[PATCH] scsi_ioctl_send_command fix

The SCSI_IOCTL_SEND_COMMAND ioctl does not work in 2.5.73-bk7. The
following patch (possibly mangled by my mail client) does fix the problem
(introduced in 2.5.73):
parent 67f3135d
...@@ -322,7 +322,7 @@ int scsi_ioctl_send_command(struct scsi_device *sdev, ...@@ -322,7 +322,7 @@ int scsi_ioctl_send_command(struct scsi_device *sdev,
} }
sreq = scsi_allocate_request(sdev); sreq = scsi_allocate_request(sdev);
if (sreq) { if (!sreq) {
result = -EINTR; result = -EINTR;
goto error; goto error;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment