[PATCH] libata: determine the err_mask when the error is found
authorAlbert Lee <albertcc@tw.ibm.com>
Mon, 5 Dec 2005 07:40:15 +0000 (15:40 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 6 Dec 2005 09:49:23 +0000 (04:49 -0500)
  - move "qc->err_mask |= AC_ERR_ATA_BUS" to where the error is found
  - add "assert(qc->err_mask)" to ata_pio_error() to make sure qc->err_mask was available when we enter the error state

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
============
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

No differences found