diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2005-06-06 15:56:03 +0800 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-09 03:14:59 -0400 |
commit | 6952df035509717bdc46194b2a3d6ffb9349f267 (patch) | |
tree | bf8709691e303a533e5798c4c7c5a17c9d752fed /include/linux/smb_mount.h | |
parent | e1dd23a0012c3929737798fda9fede0e783f4ff3 (diff) |
[PATCH] sg traverse fix for __atapi_pio_bytes()
Problem:
Incorrect md5sum when using ATAPI PIO mode to verify a distro CD.
Root cause: sg traverse problem.
In __atapi_pio_bytes(), if qc->cursg++ is increased and "goto
next_page" is executed, then sg is not updated to the new qc->cursg
and the old sg is overwritten with the new data.
Changes:
- Replace "goto next_page" with "goto next_sg" to make sg updated.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Diffstat (limited to 'include/linux/smb_mount.h')
0 files changed, 0 insertions, 0 deletions