[Ocfs2-devel] ocfs2: bug in dlm_process_recovery_data()

Sunil Mushran sunil.mushran at oracle.com
Wed Feb 10 10:37:58 PST 2010


Dan Carpenter wrote:
> In this case "pos" is "lock" so the code basically is doing this:
> lock = NULL;
> lock = list_entry(lock->member.next, typeof(*lock), member));
>                   ^^^^^^^^^^^^^^^^^
>   

Yes, you are correct. The reason it is working is because the resource
will have only one lock on the list. This is the remastery code. I'll 
fix it.



More information about the Ocfs2-devel mailing list