diff options
| author | Jens Axboe <axboe@suse.de> | 2004-02-23 20:26:03 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@suse.de> | 2004-02-23 20:26:03 -0800 |
| commit | 15680951df03078a16edc9cec55310a5f526398c (patch) | |
| tree | 209e6fd758a7b0c0ae28b44953c5ad9f060e3f97 /include | |
| parent | 8dfb4dc9f89a8dc3ddb662251f77df524c2d85be (diff) | |
[PATCH] fix SCSI non-sector bio backed IO
This fixes the SCSI layer to handle non-sector-aligned requests from
SG_IO (and potentially anything else producing these requests) that
could stall the machine and cause all sorts of funnies depending on the
low level driver used.
Diffstat (limited to 'include')
| -rw-r--r-- | include/scsi/scsi_cmnd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/scsi/scsi_cmnd.h b/include/scsi/scsi_cmnd.h index e7511be54da2..751e7e81cf4a 100644 --- a/include/scsi/scsi_cmnd.h +++ b/include/scsi/scsi_cmnd.h @@ -158,6 +158,6 @@ struct scsi_cmnd { extern struct scsi_cmnd *scsi_get_command(struct scsi_device *, int); extern void scsi_put_command(struct scsi_cmnd *); -extern void scsi_io_completion(struct scsi_cmnd *, int, int); +extern void scsi_io_completion(struct scsi_cmnd *, unsigned int, unsigned int); #endif /* _SCSI_SCSI_CMND_H */ |
