OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] NFS: fix nfs4_find_client_sessionid() arguments list
[PATCH] NFS: fix nfs4_find_client_sessionid() arguments list [message #45183] Tue, 07 February 2012 15:53
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
From: *parallels.com
It's not compilable in case of CONFIG_NFS_V4_1 is not set.

Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>

---
fs/nfs/client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index f0dacad..5b9d201 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;
Previous Topic: [PATCH 1/4] NFS: make nfs_client_list per net ns
Next Topic: [PATCH 3/5] NFS: search for client session id in proper network namespace
Goto Forum:
  


Current Time: Sun Aug 19 06:27:31 GMT 2018