diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-02 23:06:23 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-08 01:02:41 +0100 |
commit | 366c246de9cec909c5eba4f784c92d1e75b4dc38 (patch) | |
tree | f663b49998a338a70ab9601c2b4e64ce12563a3f /Documentation/scsi/scsi_mid_low_api.txt | |
parent | [SCSI] qla2xxx: Update version number to 8.02.00-k8. (diff) | |
download | linux-366c246de9cec909c5eba4f784c92d1e75b4dc38.tar.xz linux-366c246de9cec909c5eba4f784c92d1e75b4dc38.zip |
[SCSI] sd: handle bad lba in sense information
Some devices report medium error locations incorrectly. Add guards to
make sure the reported bad lba is actually in the request that caused
it. Additionally remove the large case statment for sector sizes and
replace it with the proper u64 divisions.
Tested-by: Mike Snitzer <snitzer@gmail.com>
Cc: Stable Tree <stable@kernel.org>
Cc: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'Documentation/scsi/scsi_mid_low_api.txt')
0 files changed, 0 insertions, 0 deletions