[PATCH 1/2] ocfs2: Clean up locking protocol negotiation.

2008-02-15 Thread Joel Becker
The comparison functions for protocol negotiation (introduced in commit d24fbcda0c4988322949df3d759f1cfb32b32953) were confusing. Separate out the comparison and value update parts. Signed-off-by: Joel Becker <[EMAIL PROTECTED]> --- fs/ocfs2/dlm/dlmdomain.c | 102

[PATCH 1/2] ocfs2: Clean up locking protocol negotiation.

2008-02-15 Thread Joel Becker
The comparison functions for protocol negotiation (introduced in commit d24fbcda0c4988322949df3d759f1cfb32b32953) were confusing. Separate out the comparison and value update parts. Signed-off-by: Joel Becker [EMAIL PROTECTED] --- fs/ocfs2/dlm/dlmdomain.c | 102