mount: copy the port field into the cloned nfs_server structure.
authorSteve Dickson <steved@redhat.com>
Thu, 29 Jun 2017 15:48:26 +0000 (11:48 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:24 +0000 (13:34 +0000)
commit57f45c30eee35f02adee5d96442e38d6c3884263
tree503e69aea0c2fb01a1f3958d8e58da2c0c105db6
parent2679d58535a3b67664655760611920c32fe5279f
mount: copy the port field into the cloned nfs_server structure.

commit 89a6814d9b665b196aa3a102f96b6dc7e8cb669e upstream.

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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/nfs/client.c