GFS2: Optimize glock multiple-dequeue code
authorBob Peterson <rpeterso@redhat.com>
Thu, 10 Mar 2011 16:41:57 +0000 (11:41 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 11 Mar 2011 09:24:54 +0000 (09:24 +0000)
This is a small patch that optimizes multiple glock dequeue
operations.  It changes the unlock order to be more efficient
and makes it easier for lock debugging tools to unravel.  It
also eliminates the need for the temp variable x, although
that would likely be optimized out.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>

No differences found