diff options
author | Steve Dickson | 2017-06-29 11:48:26 -0400 |
---|---|---|
committer | Anna Schumaker | 2017-07-19 15:28:21 -0400 |
commit | 89a6814d9b665b196aa3a102f96b6dc7e8cb669e (patch) | |
tree | 6267a666424bb7b21186fe383f7bbbfc364861e1 /fs | |
parent | 301bfa483016d48b7fb9cbad87c0a04a15c25b90 (diff) |
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.c | 1 |
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); |