Re: [PATCH 2/4] libata: Drain data on errors
From: Alan Cox <hidden>
Date: 2008-10-22 16:44:46
From: Alan Cox <hidden>
Date: 2008-10-22 16:44:46
quoted
+ /* Drain up to 64K of data before we give up this recovery method */ + for (count = 0; (ap->ops->sff_check_status(ap) & ATA_DRQ) + && count < 65536;)Missing count++. Sorry for not spotting that in the previous round.
Thanks - well spotted