From: Albert Lee Date: Tue, 16 Aug 2005 06:25:38 +0000 (+0800) Subject: [PATCH] libata: Clear ATA_QCFLAG_ACTIVE flag before calling the completion callback X-Git-Tag: v2.6.14-rc1~1056^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f3791d30036a367f05b9d0be28ce7ff2e017a5a;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed