mount: copy the port field into the cloned nfs_server structure.
Subsystems (2)
PATCH 1/1 mount: copy the port field into the cloned nfs_server structure.
Doing this copy eliminates the "port=0" entry in
the /proc/mounts entries
Signed-off-by Steve Dickson <[email protected]>
--- fs/nfs/client.c | 1 + 1 file changed, 1 insertion(+)
fs/nfs/client.c +1 -0
@@ -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);
Signature · 1 line
2.9.4