From: Tejun Heo Date: Sun, 26 Oct 2008 06:43:03 +0000 (+0900) Subject: libata: clear saved xfer_mode and ncq_enabled on device detach X-Git-Tag: v2.6.28-rc3~93^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90484ebfc96c5dc5c498ed72cf2d370575db9b76;p=pandora-kernel.git libata: clear saved xfer_mode and ncq_enabled on device detach libata EH saves xfer_mode and ncq_enabled at start to later set DUBIOUS_XFER flag if it has changed. These values need to be cleared on device detach such that hot device swap doesn't accidentally miss DUBIOUS_XFER. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed