diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2009-01-11 15:35:01 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-13 00:39:58 (GMT) |
commit | 37a76bd4f1b716949fc38a6842e89f0ccb8384d0 (patch) | |
tree | 6537cab6fb0e1a9508d34ca95b25808866bf04af /drivers/ata | |
parent | d32ad102c6d748b510fd89f1af4232eac1be8732 (diff) | |
download | linux-fsl-qoriq-37a76bd4f1b716949fc38a6842e89f0ccb8384d0.tar.xz |
async: fix __lowest_in_progress()
At 37000 feet somewhere near Greenland I woke up from a half-sleep with the
realisation that __lowest_in_progress() is buggy. After landing I checked
and there were indeed 2 problems with it; this patch fixes both:
* The order of the list checks was wrong
* The locking was not correct.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions