diff options
author | Robert Hancock <hancockrwd@gmail.com> | 2009-12-09 02:48:10 (GMT) |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-12-17 06:08:29 (GMT) |
commit | 9a8fd68b15e7b047678a651b7f7e2f3dcd19d20d (patch) | |
tree | 2fcd55dc63893d0c2a0a2f27878b2528596c4d43 /init/do_mounts.h | |
parent | b2dec48ccaad004fc706352f82725d43369d9bd7 (diff) | |
download | linux-fsl-qoriq-9a8fd68b15e7b047678a651b7f7e2f3dcd19d20d.tar.xz |
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: Robert Hancock <hancockrwd@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'init/do_mounts.h')
0 files changed, 0 insertions, 0 deletions