aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorJames Bottomley <[email protected]>2008-02-02 16:06:23 -0600
committerJames Bottomley <[email protected]>2008-02-07 18:02:41 -0600
commit366c246de9cec909c5eba4f784c92d1e75b4dc38 (patch)
treef663b49998a338a70ab9601c2b4e64ce12563a3f /include/linux/debugobjects.h
parentd7402cd91022fc32522397d3930a3e6587de7c55 (diff)
[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 <[email protected]> Cc: Stable Tree <[email protected]> Cc: Tony Battersby <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions