]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
libata: transfer EHI control flags to slave ehc.i
authorTejun Heo <tj@kernel.org>
Tue, 21 Oct 2008 05:26:39 +0000 (14:26 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 23 Oct 2008 00:40:19 +0000 (20:40 -0400)
commit848e4c68c4695beae563f9a3d59fce596b466a74
tree90c5ea1ff1b016f72888641f96f014336e969434
parent570106df6bdb4907ad7f70793079c762f34d561a
libata: transfer EHI control flags to slave ehc.i

ATA_EHI_NO_AUTOPSY and ATA_EHI_QUIET are used to control the behavior
of EH.  As only the master link is visible outside EH, these flags are
set only for the master link although they should also apply to the
slave link, which causes spurious EH messages during probe and
suspend/resume.

This patch transfers those two flags to slave ehc.i before performing
slave autopsy and reporting.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-eh.c
include/linux/libata.h