Skip to content
Commit 9a8fd68b authored by Robert Hancock's avatar Robert Hancock Committed by Jeff Garzik
Browse files

libata: fix reporting of drained bytes when clearing DRQ



When we drain data from a device to clear DRQ during error recovery,
the number of bytes reported as drained is too low by a factor of 2
because the count is actually reporting the number of words drained,
not bytes. Fix this.

Signed-off-by: default avatarRobert Hancock <hancockrwd@gmail.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent b2dec48c
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