Re: qla1280 bandaid

From: Christoph Hellwig <hch_at_infradead.org>
Date: 2003-09-03 06:18:37
On Tue, Sep 02, 2003 at 02:57:15PM +1000, Peter Chubb wrote:
> 
> Hi Jes,
>    The problem is that bus_reset drops the HOST_LOCK when it calls
> schedule_timeout, but when it's called from the initialisation code,
> HOST_LOCK isn't actually held.
> 
> The appended patch fixes this; however, I'm not sure that it's
> correct, because I couldn't work out easily whether the HOST_LOCK is
> held or not on all paths to qla1280_bus_reset().

Right fix would probably be to take the lock always before calling..

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Sep 2 17:16:03 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:17 EST