[GIT PULL afs: Development for 5.4

From: David Howells
Date: Mon Sep 16 2019 - 07:09:31 EST


Hi Linus,

Here's a set of patches for AFS. The first three are trivial, deleting
unused symbols and rolling out a wrapper function.

The fourth and fifth patches make use of the previously added RCU-safe
request_key facility to allow afs_permission() and afs_d_revalidate() to
attempt to operate without dropping out of RCU-mode pathwalk. Under
certain conditions, such as conflict with another client, we still have to
drop out anyway, take a lock and consult the server.

David
---
The following changes since commit f16180739cd18a39a1a45516ac0e65d18a9f100e:

Merge remote-tracking branch 'net/master' into afs-next (2019-09-02 11:43:44 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-next-20190915

for you to fetch changes up to a0753c29004f4983e303abce019f29e183b1ee48:

afs: Support RCU pathwalk (2019-09-02 11:43:54 +0100)

----------------------------------------------------------------
AFS development

Tested-by: Marc Dionne <marc.dionne@xxxxxxxxxxxx>

----------------------------------------------------------------
David Howells (3):
afs: Use afs_extract_discard() rather than iov_iter_discard()
afs: Provide an RCU-capable key lookup
afs: Support RCU pathwalk

YueHaibing (2):
afs: remove unused variable 'afs_voltypes'
afs: remove unused variable 'afs_zero_fid'

fs/afs/dir.c | 54 +++++++++++++++++++++++++-
fs/afs/fsclient.c | 6 +--
fs/afs/internal.h | 1 +
fs/afs/security.c | 108 +++++++++++++++++++++++++++++++++++++++++++---------
fs/afs/volume.c | 2 -
fs/afs/yfsclient.c | 6 +--
include/linux/key.h | 14 ++++++-
7 files changed, 162 insertions(+), 29 deletions(-)