]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Initialise connection to the server in nfs4_alloc_client()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 9 Jun 2021 14:04:46 +0000 (10:04 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 13 Jun 2021 23:36:49 +0000 (19:36 -0400)
commit7b9744db95096d788f58e89e43445050c3cf3b87
tree346197804607c6b4f6399aaf4a597609f7408ba3
parentfe8b090db1728e313ba3d15b89c5676907859a29
NFSv4: Initialise connection to the server in nfs4_alloc_client()

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@vmware.com>
Fixes: 6e68d1a979eb ("NFS: Fix an Oops in the pNFS files and flexfiles connection setup to the DS")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4client.c