linux-stable/fs/nfs
Trond Myklebust d5e6dff8c9 NFSv4: Initialise connection to the server in nfs4_alloc_client()
commit dd99e9f98f 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@vmware.com>
Fixes: 5c6e5b60aa ("NFS: Fix an Oops in the pNFS files and flexfiles connection setup to the DS")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-27 09:01:02 +01:00
..
blocklayout pnfs/blocklayout: off by one in bl_map_stripe() 2018-09-09 19:55:59 +02:00
filelayout NFS: fix an incorrect limit in filelayout_decode_layout() 2021-06-03 08:36:18 +02:00
flexfilelayout pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds 2021-11-26 11:40:34 +01:00
cache_lib.c
cache_lib.h
callback.c
callback.h
callback_proc.c NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid() 2020-04-24 08:01:18 +02:00
callback_xdr.c NFSv4.0 fix client reference leak in callback 2018-09-19 22:43:40 +02:00
client.c NFS: Fix a potential NULL dereference in nfs_get_client() 2021-06-16 11:53:04 +02:00
delegation.c NFS: Fix a soft lockup in the delegation recovery code 2020-01-27 14:46:21 +01:00
delegation.h NFS: Fix a soft lockup in the delegation recovery code 2020-01-27 14:46:21 +01:00
dir.c nfs: Fix security label length not being reset 2020-10-14 09:51:08 +02:00
direct.c SUNRPC reverting d03727b248 ("NFSv4 fix CLOSE not waiting for direct IO compeletion") 2020-07-29 07:42:52 +02:00
dns_resolve.c
dns_resolve.h
export.c
file.c SUNRPC reverting d03727b248 ("NFSv4 fix CLOSE not waiting for direct IO compeletion") 2020-07-29 07:42:52 +02:00
fscache-index.c
fscache.c
fscache.h
getroot.c
inode.c NFS: nfs_find_open_context() may only select open files 2021-07-20 16:17:52 +02:00
internal.h NFS: nfs_igrab_and_active must first reference the superblock 2021-01-23 15:48:44 +01:00
io.c
iostat.h
Kconfig nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default 2021-03-30 14:40:08 +02:00
Makefile
mount_clnt.c
namespace.c NFS: fix nfs_path in case of a rename retry 2020-11-05 11:06:59 +01:00
netns.h
nfs.h
nfs2super.c
nfs2xdr.c
nfs3_fs.h
nfs3acl.c nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl 2020-05-05 19:15:52 +02:00
nfs3client.c
nfs3proc.c nfs: fix acl memory leak of posix_acl_create() 2021-07-20 16:17:53 +02:00
nfs3super.c
nfs3xdr.c NFS: Correct size calculation for create reply length 2021-03-30 14:40:08 +02:00
nfs4_fs.h NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() 2019-08-29 08:26:40 +02:00
nfs4client.c NFSv4: Initialise connection to the server in nfs4_alloc_client() 2022-01-27 09:01:02 +01:00
nfs4file.c NFSv4: Fix v4.0/v4.1 SEEK_DATA return -ENOTSUPP when set NFS_V4_2 config 2021-06-03 08:36:18 +02:00
nfs4getroot.c
nfs4idmap.c keys: Fix dependency loop between construction record and auth key 2019-03-23 14:35:14 +01:00
nfs4idmap.h
nfs4namespace.c
nfs4proc.c NFSv4: nfs4_proc_set_acl needs to restore NFS_CAP_UIDGID_NOMAP on error. 2021-06-16 11:53:04 +02:00
nfs4renewd.c
nfs4session.c
nfs4session.h
nfs4state.c NFSv4: Fix a potential sleep while atomic in nfs4_do_reclaim() 2019-08-29 08:26:40 +02:00
nfs4super.c
nfs4sysctl.c
nfs4trace.c
nfs4trace.h
nfs4xdr.c nfs: Fix getxattr kernel panic and memory overflow 2020-08-21 09:48:22 +02:00
nfs42.h
nfs42proc.c NFSv42: Fix pagecache invalidation after COPY/CLONE 2021-12-08 08:46:53 +01:00
nfs42xdr.c NFSv42: Don't fail clone() unless the OP_CLONE operation failed 2021-12-08 08:46:48 +01:00
nfsroot.c
nfstrace.c
nfstrace.h
pagelist.c NFS: Don't corrupt the value of pg_bytes_written in nfs_do_recoalesce() 2021-06-03 08:36:18 +02:00
pnfs.c NFSv4: Fix a NULL pointer dereference in pnfs_mark_matching_lsegs_return() 2021-06-03 08:36:12 +02:00
pnfs.h NFS/pnfs: Bulk destroy of layouts needs to be safe w.r.t. umount 2020-01-27 14:46:22 +01:00
pnfs_dev.c
pnfs_nfs.c pnfs/flexfiles: Fix misplaced barrier in nfs4_ff_layout_prepare_ds 2021-11-26 11:40:34 +01:00
proc.c NFSv2: Fix write regression 2019-09-21 07:15:37 +02:00
read.c NFS: Pass error information to the pgio error cleanup routine 2019-09-06 10:21:00 +02:00
super.c fs/nfs: Fix nfs_parse_devname to not modify it's argument 2020-01-27 14:46:21 +01:00
symlink.c
sysctl.c
unlink.c
write.c NFS: Fix deadlocks in nfs_scan_commit_list() 2021-11-26 11:40:34 +01:00