Re: write_lock_bh()

From: Christoph Hellwig (hch@ns.caldera.de)
Date: Tue Nov 20 2001 - 06:48:15 EST


In article <20011120170458.A24330@cse.iitb.ac.in> you wrote:
> hi
> Can I call write_lock_bh() on a different lock, from a routine
> which already called write_lock_bh() on another lock?

Just use write_lock() the second time.

        Christoph

-- 
Of course it doesn't work. We've performed a software upgrade.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:23 EST