nfs: Update server port after referral or migration
authorChuck Lever <[email protected]>
Mon, 4 Dec 2017 19:13:46 +0000 (14:13 -0500)
committerTrond Myklebust <[email protected]>
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 <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
fs/nfs/nfs4client.c