Return-Path: Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:53915 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933789AbdKGA00 (ORCPT ); Mon, 6 Nov 2017 19:26:26 -0500 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Anna Schumaker" , "Steve Dickson" Date: Mon, 06 Nov 2017 23:03:02 +0000 Message-ID: Subject: [PATCH 3.16 035/294] mount: copy the port field into the cloned nfs_server structure. In-Reply-To: Sender: stable-owner@vger.kernel.org List-ID: 3.16.50-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Steve Dickson 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 Signed-off-by: Anna Schumaker Signed-off-by: Ben Hutchings --- fs/nfs/client.c | 1 + 1 file changed, 1 insertion(+) --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -931,6 +931,7 @@ void nfs_server_copy_userdata(struct nfs 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);