projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301bfa4
)
mount: copy the port field into the cloned nfs_server structure.
author
Steve Dickson
<steved@redhat.com>
Thu, 29 Jun 2017 15:48:26 +0000
(11:48 -0400)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Wed, 19 Jul 2017 19:28:21 +0000
(15:28 -0400)
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>
fs/nfs/client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/client.c
b/fs/nfs/client.c
index ee5ddbd36088e66d21b2900fddb9c7ded0d17f9a..efebe6cf4378e32a13d109eebd0b694dd629c2a5 100644
(file)
--- 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);