]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7ce3e560bb1e10f69f71f5ce619cc9d7f391bc77
tree2664edfe88903ea29c1b195b46442cac950e0a30
parent0d74b0d9f988c7bfd3c67ccbb9cc8e23341acbed
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