nfs: Update server port after referral or migration
authorChuck Lever <chuck.lever@oracle.com>
Mon, 4 Dec 2017 19:13:46 +0000 (14:13 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Jan 2018 04:06:30 +0000 (23:06 -0500)
commit801b564309bafea3cfd71f9c535d88f4d58d2d34
tree92e798c6a5936a1bde2f9139e5ee1a429a22bc81
parent530ea4219231e62341f79a5517d7b4f12ec3b74f
nfs: Update server port after referral or migration

After traversing a referral or recovering from a migration event,
ensure that the server port reported in /proc/mounts is updated
to the correct port setting for the new submount.

Reported-by: Helen Chao <helen.chao@oracle.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4client.c