Re: write_lock_bh()

Christoph Hellwig (hch@ns.caldera.de)
Tue, 20 Nov 2001 12:48:15 +0100


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/