commit | 90484ebfc96c5dc5c498ed72cf2d370575db9b76 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Oct 26 15:43:03 2008 +0900 |
committer | Jeff Garzik <jgarzik@redhat.com> | Mon Oct 27 23:55:40 2008 -0400 |
tree | 46ada261a4d318296bcbe08ac724fd32eb014a6d | |
parent | e8b3b5e9f54512bfdb7c154da07ec0408cbd6c56 [diff] |
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 <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>