diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-12-14 20:56:07 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 08:05:58 +0100 |
commit | 69dd716c5ffd89f5ba14ffb871d633ecea74d13a (patch) | |
tree | bbf720dc7f16f99adc09063f934033eb9e36b307 /fs/nfs/nfs4proc.c | |
parent | NFS: Pull covers off IPv6 address parsing (diff) | |
download | linux-69dd716c5ffd89f5ba14ffb871d633ecea74d13a.tar.xz linux-69dd716c5ffd89f5ba14ffb871d633ecea74d13a.zip |
NFSv4: Add socket proto argument to setclientid
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 5e8c4cf7959e..b3d4e8e5696a 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -2891,10 +2891,12 @@ int nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short po for(;;) { setclientid.sc_name_len = scnprintf(setclientid.sc_name, - sizeof(setclientid.sc_name), "%s/%s %s %u", + sizeof(setclientid.sc_name), "%s/%s %s %s %u", clp->cl_ipaddr, rpc_peeraddr2str(clp->cl_rpcclient, RPC_DISPLAY_ADDR), + rpc_peeraddr2str(clp->cl_rpcclient, + RPC_DISPLAY_PROTO), cred->cr_ops->cr_name, clp->cl_id_uniquifier); setclientid.sc_netid_len = scnprintf(setclientid.sc_netid, |