From: Tejun Heo Date: Mon, 15 May 2006 11:57:32 +0000 (+0900) Subject: [PATCH] libata: clear ap->active_tag atomically w.r.t. command completion X-Git-Tag: v2.6.18-rc1~1079^2~98^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7401abf2f44695ef44eef47d5deba1c20214a063;p=pandora-kernel.git [PATCH] libata: clear ap->active_tag atomically w.r.t. command completion ap->active_tag was cleared in ata_qc_free(). This left ap->active_tag dangling after ata_qc_complete(). Spurious interrupts inbetween could incorrectly access the qc. Clear active_tag in ata_qc_complete(). This change is necessary for later EH changes. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed