]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit656e08339bdababcf11946bfbff3ae2b80146d6f
tree20fac2901263ee8602e2c211dd971705c58974f5
parentc497b2e962f8fe3eb707e6b516f19e84e29cdcc2
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