Skip to contentSkip to conversation

mount: copy the port field into the cloned nfs_server structure.

PATCH New Steve Dickson 1 participant 1 message Jun 29, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
 fs/nfs/client.c | 1 +
 1 file changed, 1 insertion(+)
fs/nfs/client.c +1 -0
index ee5ddbd..efebe6c 100644
@@ -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