nfsd4: centralize renew_client() calls
authorJ. Bruce Fields <bfields@redhat.com>
Wed, 12 Oct 2011 20:24:27 +0000 (16:24 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 17 Oct 2011 21:09:37 +0000 (17:09 -0400)
commita50d2ad1721c0c785e9a74c0003ca044de6868a5
tree2664edfe88903ea29c1b195b46442cac950e0a30
parent01cd4afadbf376de07d364a632cc82a0fc5e8655
nfsd4: centralize renew_client() calls

There doesn't seem to be any harm to renewing the client a bit earlier,
when it is looked up.  That saves us from having to sprinkle
renew_client calls over quite so many places.

Also remove a redundant comment and do a little cleanup.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c