diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2005-08-16 02:25:38 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-23 01:03:38 -0400 |
commit | 3f3791d30036a367f05b9d0be28ce7ff2e017a5a (patch) | |
tree | 06bd36db635380e3ba5371b15c899b3b03c095a4 /drivers/scsi/sata_promise.c | |
parent | 443d089703ffa585aea1af47c68f1be5d0ec3115 (diff) |
[PATCH] libata: Clear ATA_QCFLAG_ACTIVE flag before calling the completion callback
Description:
After calling the completion callback, the libata error handler might be
running and getting atapi sense data. Clearing the ATA_QCFLAG_ACTIVE flag
at this point might interfere with the libata error handler.
Changes:
- Clear the ATA_QCFLAG_ACTIVE flag before calling the completion callback
(and also before the error handler)
- Add some comment
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/scsi/sata_promise.c')
0 files changed, 0 insertions, 0 deletions