On Fri, Jul 16, 2010 at 11:13:33PM +0800, Wengang Wang wrote:
> When we have to take both dlm->master_lock and lockres->spinlock,
> take them in order
>
> lockres->spinlock and then dlm->master_lock.
>
> The patch fixes a violation of the rule.
> We can simply move taking dlm->master_lock to where we have dropped
> res->spinlock
> since when we access res->state and free mle memory we don't need
> master_lock's
> protection.
>
> Signed-off-by: Wengang Wang <[email protected]>
This patch is now in the fixes branch of ocfs2.git.
Joel
--
"Three o'clock is always too late or too early for anything you
want to do."
- Jean-Paul Sartre
Joel Becker
Consulting Software Developer
Oracle
E-mail: [email protected]
Phone: (650) 506-8127
_______________________________________________
Ocfs2-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-devel