]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc2ffaba2cd1efef10723f61259b6679e8b6c83f
tree3f9ae0df442e8b5f2c83070225986f4940e7d4dd
parentf54c620aac257a7640194d4f520c97e238af769a
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