NFS: Refactor nfs_get_client(): add nfs_found_client()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 22 May 2012 02:45:50 +0000 (22:45 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 22 May 2012 20:45:46 +0000 (16:45 -0400)
commitf411703adc762a92b72f8a93c6464050d66cb87b
tree3f9ae0df442e8b5f2c83070225986f4940e7d4dd
parentf092075dd33ea04000590e8ffea65c2e7d03d764
NFS: Refactor nfs_get_client(): add nfs_found_client()

Clean up: Code that takes and releases nfs_client_lock remains in
nfs_get_client().  Logic that handles a pre-existing nfs_client is
moved to a separate function.

No behavior change is expected.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/client.c