Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8130893ybl; Thu, 16 Jan 2020 11:10:08 -0800 (PST) X-Google-Smtp-Source: APXvYqyU+Jp0XnGF0HpN+SPH/b3uSf0MOnb7bXpJd4K6oBqgNCw2RZAEF1+P3ECBIkXCUD5dN9Q5 X-Received: by 2002:a05:6830:20c5:: with SMTP id z5mr2273273otq.0.1579201808671; Thu, 16 Jan 2020 11:10:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579201808; cv=none; d=google.com; s=arc-20160816; b=dQ3DOF7huoagXppNqciJfc0UvxPvOFVEW6qsIzB4iC4RFVe4l+osTRoCGjFwZkWvc7 MqSrVfSOJnOhLDBCDFaNbbfZnN6pJaQrF4rS6ABkPHU5Was5M3GscupxytkqKkR7IBkH sjtO7fBEVQpHSlOU1AkuHrxADa1tSKBEBGSFrYYbxdIM7XIin14fOkhhGsb/qVLkGV3e 9LBeIn+10XhYGDmLuAV31suzb7D9VmJEc5YyK8nwAuD3J1s51RDnivpatrZKmfMvGmtH QrIkHyKX6FgbnMV4yAK8SUW1mDbRneuYF2HhAy0kQZnoMcsRjNmk8msOrGpu1+5Y5eTF HP/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ckkzP+yL9tj6yrjGxw9BY9p5/uItt5Rg4Vpd+3titek=; b=n2oSgScXPRJTpZc3PK3MgTi/XigR7C2g94K12paHZ0owBKJz7CT7PWPXpvHOMFi2p1 Cv8z9DpSwi//cdp8qv8E4v90Yf9tpo1/6VHOPEXLvxqya28PNz+7xD5v1XQBv2vR4T+2 5B/OiQXSsOggKCqGXZi52Mhbdx6FNOYRBmU0be/4RmButnG96bOcPluph04vYgZE7x+/ CBsriVoaC83wRKXEytHMtz/kgxnDaJq+nHGNT6ofyeP99tnXL4O6CnFITXG8Rc7PBdJ+ kH7cCOxSQcNHwc6PiiMiHPoTZqJg3byBkBBED9X66/5e2H6poEYpIzXHpxRSyPv+MgcS qTNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rCXoPHw7; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17si11561227oij.136.2020.01.16.11.09.54; Thu, 16 Jan 2020 11:10:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rCXoPHw7; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387912AbgAPTJL (ORCPT + 99 others); Thu, 16 Jan 2020 14:09:11 -0500 Received: from mail-yb1-f180.google.com ([209.85.219.180]:45487 "EHLO mail-yb1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437354AbgAPTJG (ORCPT ); Thu, 16 Jan 2020 14:09:06 -0500 Received: by mail-yb1-f180.google.com with SMTP id x191so1857280ybg.12 for ; Thu, 16 Jan 2020 11:09:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ckkzP+yL9tj6yrjGxw9BY9p5/uItt5Rg4Vpd+3titek=; b=rCXoPHw7SHaPHOJVpH6ebRe43qVIKLkWUuskkJfziDGajwGjzjydKIG5csASwuxjiE x6yduGTzwVXE0YNop9DRl8pkl9g1QPhFCuayja6wC6xanMGuhGuL+hTVWfmdXbYxcUM4 HgXEIAWD7l0uz7NHI0qKSao82xgRQcnMqnGIQ1su2Nk/XfrAPAqRnwClca0GGBOEYY6I 1be3iBBTI9XKXukkT3dALSkh+VvwlStOWU+2p9fXsDt6M4hziJUrDalAS1o5ktKS/wg0 Si11E/njHZesGikmKhnb9+6P9j8OUqmbnhFMvyOGl9bK1ECwVj5Bnlmdn8ONo56ATMKc PSBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ckkzP+yL9tj6yrjGxw9BY9p5/uItt5Rg4Vpd+3titek=; b=HFgzm9PggCEIzxxqTei7lUkkT68fDKrGQM8aK6cGw3K9EETeMx7kyfNQHylvtjmbVu VdgiX9VpNHLxlxaR7R9pCQrnaj0C2uW7jSib1mClS+wgJYFqueHZS7pm72Yv3OQfUGJD 3rk9xw7Gl3dxglLfkCmdLfF0HSb9gwDd882bWA0uHLY5/OHo6yaMP36FdC8k8m6QKuU6 E/ZvdRgXTrOK4q01Pe2ECaN7XvqHnlz4jjEGhKOfAHgdBXsIQra6GfvRebF79Psrd6+K fcJdnR9fvIJnA9ILcAqvb0FBEdGI7/aoH4exwsO/rIu/mUAdHTItriAw5RYALEBiOpeB oI3w== X-Gm-Message-State: APjAAAUdbXa7UX0izeVOSBA4tHoD9iGjJEPx3ShRFdENrs5p648k4Q/B OP2gxRVjhtwPYg4Qu4jL3aw= X-Received: by 2002:a25:5889:: with SMTP id m131mr24370982ybb.89.1579201745577; Thu, 16 Jan 2020 11:09:05 -0800 (PST) Received: from Olgas-MBP-201.attlocal.net (172-10-226-31.lightspeed.livnmi.sbcglobal.net. [172.10.226.31]) by smtp.gmail.com with ESMTPSA id p206sm10295332ywg.94.2020.01.16.11.08.59 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 16 Jan 2020 11:09:00 -0800 (PST) From: Olga Kornievskaia To: trond.myklebust@hammerspace.com, anna.schumaker@netapp.com Cc: linux-nfs@vger.kernel.org Subject: [PATCH 1/1] NFSv4.0 allow nconnect for v4.0 Date: Thu, 16 Jan 2020 14:08:57 -0500 Message-Id: <20200116190857.26026-1-olga.kornievskaia@gmail.com> X-Mailer: git-send-email 2.10.1 (Apple Git-78) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Olga Kornievskaia Signed-off-by: Olga Kornievskaia --- fs/nfs/nfs4client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/nfs4client.c b/fs/nfs/nfs4client.c index 460d625..4df3fb0 100644 --- a/fs/nfs/nfs4client.c +++ b/fs/nfs/nfs4client.c @@ -881,7 +881,7 @@ static int nfs4_set_client(struct nfs_server *server, if (minorversion == 0) __set_bit(NFS_CS_REUSEPORT, &cl_init.init_flags); - else if (proto == XPRT_TRANSPORT_TCP) + if (proto == XPRT_TRANSPORT_TCP) cl_init.nconnect = nconnect; if (server->flags & NFS_MOUNT_NORESVPORT) -- 1.8.3.1