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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Mar 2014 17:05:14 +0000 (10:05 -0700)
commit3c29a0bfc618141114cb93f141dbdb9e977e6e06
treed323afa07326f038ccaac3141e2173c977095407
parent94fb0b91503251930951bf4147af08cf367612c7
NFSv4: Use the correct net namespace in nfs4_update_server

commit 292f503cade2b1d966239ef56a851e6897d1ba92 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/internal.h
fs/nfs/nfs4client.c
fs/nfs/nfs4namespace.c