[GIT PULL] Please pull NFS client bugfixes

From: Trond Myklebust
Date: Fri May 15 2020 - 17:00:17 EST


Hi Linus,

The following changes since commit 2ef96a5bb12be62ef75b5828c0aab838ebb29cb8:

Linux 5.7-rc5 (2020-05-10 15:16:58 -0700)

are available in the Git repository at:

git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.7-5

for you to fetch changes up to 8eed292bc8cbf737e46fb1c119d4c8f6dcb00650:

NFSv3: fix rpc receive buffer size for MOUNT call (2020-05-14 18:42:44 -0400)

----------------------------------------------------------------
NFS client bugfixes for Linux 5.7

Highlights include:

Stable fixes:
- nfs: fix NULL deference in nfs4_get_valid_delegation

Bugfixes:
- Fix corruption of the return value in cachefiles_read_or_alloc_pages()
- Fix several fscache cookie issues
- Fix a fscache queuing race that can trigger a BUG_ON
- NFS: Fix 2 use-after-free regressions due to the RPC_TASK_CRED_NOREF flag
- SUNRPC: Fix a use-after-free regression in rpc_free_client_work()
- SUNRPC: Fix a race when tearing down the rpc client debugfs directory
- SUNRPC: Signalled ASYNC tasks need to exit
- NFSv3: fix rpc receive buffer size for MOUNT call

----------------------------------------------------------------
Chuck Lever (1):
SUNRPC: Signalled ASYNC tasks need to exit

Dave Wysochanski (3):
NFS: Fix fscache super_cookie index_key from changing after umount
NFS: Fix fscache super_cookie allocation
NFSv4: Fix fscache cookie aux_data to ensure change_attr is included

David Howells (1):
cachefiles: Fix corruption of the return value in cachefiles_read_or_alloc_pages()

J. Bruce Fields (2):
nfs: fix NULL deference in nfs4_get_valid_delegation
SUNRPC: 'Directory with parent 'rpc_clnt' already present!'

Lei Xue (1):
cachefiles: Fix race between read_waiter and read_copier involving op->to_do

NeilBrown (1):
SUNRPC: fix use-after-free in rpc_free_client_work()

Olga Kornievskaia (1):
NFSv3: fix rpc receive buffer size for MOUNT call

Trond Myklebust (3):
Merge tag 'fscache-fixes-20200508-2' of git://git.kernel.org/.../dhowells/linux-fs
NFS: Don't use RPC_TASK_CRED_NOREF with delegreturn
NFS/pnfs: Don't use RPC_TASK_CRED_NOREF with pnfs

fs/cachefiles/rdwr.c | 12 ++++++------
fs/nfs/fscache.c | 39 ++++++++++++++++++---------------------
fs/nfs/mount_clnt.c | 3 ++-
fs/nfs/nfs4proc.c | 2 +-
fs/nfs/nfs4state.c | 2 +-
fs/nfs/pagelist.c | 5 +++--
fs/nfs/pnfs_nfs.c | 3 ++-
fs/nfs/super.c | 1 -
fs/nfs/write.c | 4 ++--
net/sunrpc/clnt.c | 9 +++++++--
10 files changed, 42 insertions(+), 38 deletions(-)
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx