NFSv4: Use the correct net namespace in nfs4_update_server
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Feb 2014 02:42:56 +0000 (21:42 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 17 Feb 2014 19:15:46 +0000 (14:15 -0500)
commit292f503cade2b1d966239ef56a851e6897d1ba92
treed6713d34696957d49fb4f12df097acd1ed2d0eb8
parente9776d0f4adee8877145672f6416b06b57f2dc27
NFSv4: Use the correct net namespace in nfs4_update_server

We need to use the same net namespace that was used to resolve
the hostname and sockaddr arguments.

Fixes: 32e62b7c3ef09 (NFS: Add nfs4_update_server)
Cc: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/internal.h
fs/nfs/nfs4client.c
fs/nfs/nfs4namespace.c