On Mon, Jan 24, 2022 at 05:29:46PM +0100, Ben Hutchings wrote: > From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > > commit dd99e9f98fbf423ff6d365b37a98e8879170f17c upstream. > > Set up the connection to the NFSv4 server in nfs4_alloc_client(), before > we've added the struct nfs_client to the net-namespace's nfs_client_list > so that a downed server won't cause other mounts to hang in the trunking > detection code. > > Reported-by: Michael Wakabayashi <mwakabayashi@xxxxxxxxxx> > Fixes: 5c6e5b60aae4 ("NFS: Fix an Oops in the pNFS files and flexfiles connection setup to the DS") > Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx> > [bwh: Backported to 4.14: adjust context] > Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> > --- > fs/nfs/nfs4client.c | 82 +++++++++++++++++++++++---------------------- > 1 file changed, 42 insertions(+), 40 deletions(-) Now queued up, thanks. greg k-h