[GIT PULL] Please pull NFS client bugfixes

From: Trond Myklebust
Date: Tue Jan 12 2021 - 09:32:08 EST


Hi Linus,

The following changes since commit e71ba9452f0b5b2e8dc8aa5445198cd9214a6a62:

Linux 5.11-rc2 (2021-01-03 15:55:30 -0800)

are available in the Git repository at:

git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-5.11-2

for you to fetch changes up to 896567ee7f17a8a736cda8a28cc987228410a2ac:

NFS: nfs_igrab_and_active must first reference the superblock (2021-01-10 16:29:28 -0500)

----------------------------------------------------------------
NFS client bugfixes for Linux 5.11

Highlights include:

Bugfixes:
- Fix parsing of link-local IPv6 addresses
- Fix confusing logging of mount errors that was introduced by the
fsopen() patchset.
- Fix a tracing use after free in _nfs4_do_setlk()
- Layout return-on-close fixes when called from nfs4_evict_inode()
- Layout segments were being leaked in pnfs_generic_clear_request_commit()
- Don't leak DS commits in pnfs_generic_retry_commit()
- Fix an Oopsable use-after-free when nfs_delegation_find_inode_server()
calls iput() on an inode after the super block has gone away.

----------------------------------------------------------------
Dave Wysochanski (1):
NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock

Scott Mayhew (1):
NFS: Adjust fs_context error logging

Trond Myklebust (9):
pNFS: Mark layout for return if return-on-close was not sent
pNFS: We want return-on-close to complete when evicting the inode
pNFS: Clean up pnfs_layoutreturn_free_lsegs()
pNFS: Stricter ordering of layoutget and layoutreturn
NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request
NFS/pNFS: Don't leak DS commits in pnfs_generic_retry_commit()
NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
NFS: nfs_delegation_find_inode_server must first reference the superblock
NFS: nfs_igrab_and_active must first reference the superblock

j.nixdorf@xxxxxx (1):
net: sunrpc: interpret the return value of kstrtou32 correctly

fs/nfs/delegation.c | 12 ++++++----
fs/nfs/internal.h | 38 +++++++++++++++++++++++-------
fs/nfs/nfs4proc.c | 28 +++++++++-------------
fs/nfs/nfs4super.c | 4 ++--
fs/nfs/pnfs.c | 67 ++++++++++++++++++++++++++++-------------------------
fs/nfs/pnfs.h | 8 +++----
fs/nfs/pnfs_nfs.c | 22 ++++++++----------
net/sunrpc/addr.c | 2 +-
8 files changed, 99 insertions(+), 82 deletions(-)

--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@xxxxxxxxxxxxxxx