NFS: fix nfs4_find_client_sessionid() arguments list
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 7 Feb 2012 15:53:19 +0000 (19:53 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 15 Feb 2012 05:19:49 +0000 (00:19 -0500)
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>
fs/nfs/client.c

index 6f6267cb6badf4e91bac77666d8f52d9527e7cc6..d0f850ffeb196da15ab90b6b77e911c4c07c68e9 100644 (file)
@@ -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;