diff options
author | Jeff Garzik | 2005-09-16 06:01:48 -0400 |
---|---|---|
committer | Jeff Garzik | 2005-09-16 06:01:48 -0400 |
commit | 7fb6ec287a05d7a71ec086d8bc9a452d5e16ff1a (patch) | |
tree | fd0a4a8df9eec8b22d1ea9f18443dfc2e32e80eb /drivers/scsi/u14-34f.c | |
parent | 065d9cac98a5406ecd5a1368f8fd38f55739dee9 (diff) |
[libata] fix PIO completion race
Make sure we that completion is the final action we take; prior to this
change, another CPU may have changed ap->pio_task_state before we tested
it a final time.
Spotted by, and original patch by Albert Lee @ IBM.
Also includes a minor optimization: eliminate a ton of unnecessary
queue_work() calls, simply by jumping to the beginning of the FSM
function ata_pio_task().
Diffstat (limited to 'drivers/scsi/u14-34f.c')
0 files changed, 0 insertions, 0 deletions