[PATCH] libata-dev: determine err_mask when error is found
commita4f16610081001640ffe0314024bc31c10f69757
authorAlbert Lee <albertcc@tw.ibm.com>
Mon, 26 Dec 2005 08:40:53 +0000 (26 16:40 +0800)
committerJeff Garzik <jgarzik@pobox.com>
Wed, 18 Jan 2006 00:55:03 +0000 (17 19:55 -0500)
treeed2586027ef02a9d195dd00e5c61ab1728afee24
parentea9b395fe20ac74be788f415af2622ac8f0c35c7
[PATCH] libata-dev: determine err_mask when error is found

Changes:
- Determine err_mask directly when an error is found.
- Remove "qc->err_mask |= __ac_err_mask(status);" in ata_host_intr()

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
============
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c