[PATCH 0/3] AFS fixes

From: David Howells
Date: Tue Nov 13 2018 - 18:20:18 EST



Hi Al,

Here's a set of fixes for AFS if you could pass them on to Linus:

(1) Fix the interaction between vnode (inode) state validation and
callback-break. There are some unhandled cases that lead to kafs
transmitting a FetchStatus request on every validate call after the
server's record of the client expires due to lack of use and is
discarded.

(2) Fix some missing network error handling, and improve what happens when
multiple errors are produced because an operation is duplicated across
multiple servers.

(3) Use d_instantiate() rather than d_add() and don't call d_drop() when
instantiating a new inode.

The patches can be found here also:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=afs-fixes

David
---
David Howells (3):
afs: Fix validation/callback interaction
afs: Fix missing net error handling
afs: Use d_instantiate() rather than d_add() and don't d_drop()


fs/afs/dir.c | 4 +---
fs/afs/fs_probe.c | 39 ++++++++++++++++++++++++--------------
fs/afs/inode.c | 18 ++++++++++++------
fs/afs/internal.h | 9 +++++++++
fs/afs/misc.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++
fs/afs/rotate.c | 53 +++++++++++++---------------------------------------
fs/afs/vl_probe.c | 45 ++++++++++++++++++++++++++------------------
fs/afs/vl_rotate.c | 50 ++++++++++---------------------------------------
8 files changed, 148 insertions(+), 122 deletions(-)