Tejun Heo 4528e4da79 [PATCH] libata: fix autopsy ehc->i.action and ehc->i.dev handling
Commit 0662c58b3265f52f708a6d59476bc7862b01f9c0 updated
ata_eh_autopsy() to OR determined action to ehc->i.action to preserve
action mask set directly into ehc->i.action by nested functions.  This
broke action mask clearing on SENSE_VALID case causing revalidation
and EH complete message on successful ATAPI CC.

This patch removes two local variables - action and failed_dev - which
cache ehc->i.action and ehc->i.dev respectively, and make the function
directly modify ehc->i.* fields to remove aliasing issues.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2006-07-19 14:06:53 -04:00
..
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-01-01 22:21:50 +01:00
2006-01-14 10:55:12 -06:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-06-30 19:25:36 +02:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:44:09 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-13 10:13:30 -05:00
2006-05-20 09:35:20 -05:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:00:58 -07:00
2006-06-25 10:00:58 -07:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:58:18 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-09 15:48:20 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2005-05-20 12:53:13 -05:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:30:00 -05:00
2005-04-16 15:20:36 -07:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2005-04-16 15:20:36 -07:00
2006-06-22 22:11:56 -04:00
2006-07-03 09:41:12 -05:00
2006-07-03 09:41:12 -05:00
2006-03-23 07:38:09 -08:00
2005-04-16 15:20:36 -07:00
2006-06-29 11:06:30 -04:00
2006-06-29 11:06:30 -04:00