1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 09:13:20 -05:00

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>
This commit is contained in:
Steve Dickson 2017-06-29 11:48:26 -04:00 committed by Anna Schumaker
parent 301bfa4830
commit 89a6814d9b

View file

@ -820,6 +820,7 @@ void nfs_server_copy_userdata(struct nfs_server *target, struct nfs_server *sour
target->caps = source->caps; target->caps = source->caps;
target->options = source->options; target->options = source->options;
target->auth_info = source->auth_info; target->auth_info = source->auth_info;
target->port = source->port;
} }
EXPORT_SYMBOL_GPL(nfs_server_copy_userdata); EXPORT_SYMBOL_GPL(nfs_server_copy_userdata);