summaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-01-20 17:19:56 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-01-31 19:28:19 -0500
commitbabea479b75a9ea3d84ace6d880513e18397a8bb (patch)
tree303f277ccd46efca7b7532285692cad45866a816 /fs/nfs/client.c
parent246590f56c9f281d60b7dd7efa0818307e65600d (diff)
downloadblackbird-op-linux-babea479b75a9ea3d84ace6d880513e18397a8bb.tar.gz
blackbird-op-linux-babea479b75a9ea3d84ace6d880513e18397a8bb.zip
NFS: remove unused nfs4_find_client_no_ident function
Looks like this function survived after some cleanup patch without a reason. Now it's not called or referenced and I believe, that it can be simply removed. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index df60d9971b95..34c8d1cbf06e 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -1199,33 +1199,6 @@ error:
/*
* NFSv4.0 callback thread helper
*
- * Find a client by IP address, protocol version, and minorversion
- *
- * Called from the pg_authenticate method. The callback identifier
- * is not used as it has not been decoded.
- *
- * Returns NULL if no such client
- */
-struct nfs_client *
-nfs4_find_client_no_ident(const struct sockaddr *addr)
-{
- struct nfs_client *clp;
-
- spin_lock(&nfs_client_lock);
- list_for_each_entry(clp, &nfs_client_list, cl_share_link) {
- if (nfs4_cb_match_client(addr, clp, 0) == false)
- continue;
- atomic_inc(&clp->cl_count);
- spin_unlock(&nfs_client_lock);
- return clp;
- }
- spin_unlock(&nfs_client_lock);
- return NULL;
-}
-
-/*
- * NFSv4.0 callback thread helper
- *
* Find a client by callback identifier
*/
struct nfs_client *
OpenPOWER on IntegriCloud