summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2017-06-29 17:48:26 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-07-19 21:28:21 +0200
commit89a6814d9b665b196aa3a102f96b6dc7e8cb669e (patch)
tree6267a666424bb7b21186fe383f7bbbfc364861e1 /fs
parentNFS: Don't run wake_up_bit() when nobody is waiting... (diff)
downloadlinux-89a6814d9b665b196aa3a102f96b6dc7e8cb669e.tar.xz
linux-89a6814d9b665b196aa3a102f96b6dc7e8cb669e.zip
mount: copy the port field into the cloned nfs_server structure.
Doing this copy eliminates the "port=0" entry in the /proc/mounts entries Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=69241 Signed-off-by: Steve Dickson <steved@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index ee5ddbd36088..efebe6cf4378 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -820,6 +820,7 @@ void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *sour
target->caps = source->caps;
target->options = source->options;
target->auth_info = source->auth_info;
+ target->port = source->port;
}
EXPORT_SYMBOL_GPL(nfs_server_copy_userdata);