summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-02-07 19:53:19 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-15 00:19:49 -0500
commitb6d1e83b4ea6cb369bdd490871f00651decdb509 (patch)
treeee69267a410d7373d935aa81e15335107a1f3436
parent4c03ae4a897b52e0e8fc38749606549eaa20d5b7 (diff)
downloadlinux-b6d1e83b4ea6cb369bdd490871f00651decdb509.tar.bz2
NFS: fix nfs4_find_client_sessionid() arguments list
It's not compilable in case of CONFIG_NFS_V4_1 is not set. Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
-rw-r--r--fs/nfs/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 6f6267cb6bad..d0f850ffeb19 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -1266,7 +1266,7 @@ nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr,
#else /* CONFIG_NFS_V4_1 */
struct nfs_client *
-nfs4_find_client_sessionid(const struct sockaddr *addr,
+nfs4_find_client_sessionid(struct net *net, const struct sockaddr *addr,
struct nfs4_sessionid *sid)
{
return NULL;