]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/nfs/nfs4proc.c
NFSv4.1: Use the correct hostname in the client identifier string
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 16:04:58 +0000 (12:04 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 30 Apr 2012 16:04:58 +0000 (12:04 -0400)
commit3617e5031b3acec04efaa36566a8111ac8f07325
tree20fac2901263ee8602e2c211dd971705c58974f5
parentcbbb34498f8b2b26cbdc79532c8a2ee5cd1e756a
NFSv4.1: Use the correct hostname in the client identifier string

We need to use the hostname of the process that created the nfs_client.
That hostname is now stored in the rpc_client->cl_nodename.

Also remove the utsname()->domainname component. There is no reason
to include the NIS/YP domainname in a client identifier string.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c