On Mon, Apr 25, 2011 at 08:12:59AM -0400, Chris Mason wrote:
> > This code tests whether the mutex_lock can be acquired, and when the
> > mutex_lock can be taken, it try again.
> > So I think that it is not a meaningless code.
> 
> Correct, this code is waiting for the current lock holder to finish.
> It's not exactly pretty but it needs to stay.

Ok, I think it deserves a comment, will add it and resend.


david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to