NLM: Clean up nlmsvc_grant_reply locking
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 3 Jan 2006 08:55:42 +0000 (09:55 +0100)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 6 Jan 2006 19:58:53 +0000 (14:58 -0500)
commitf232142cc21127c829559923eb405d1bcb2e2278
tree4ac11e21c008a26b6e9e5ad3ac4db8b2920534a9
parentfb459f45f7c7689714023d41b3dca999bb90a5d3
NLM: Clean up nlmsvc_grant_reply locking

 Slightly simpler logic here makes it more trivial to verify that the up's
 and down's are balanced here.  Break out an assignment from a conditional
 while we're at it.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/lockd/svclock.c