Messages in this thread | | | From | David Howells <> | Subject | [GIT PULL] afs: Fix refcount handling | Date | Tue, 09 Aug 2022 14:41:02 +0100 |
| |
Hi Linus,
Could you pull this pair of patches? The first patch converts afs to use refcount_t for its refcounts and the second patch fixes afs_put_call() and afs_put_server() to save the values they're going to log in the tracepoint before decrementing the refcount.
Thanks, David
Reviewed-by: Marc Dionne <marc.dionne@auristor.com> Tested-by: Marc Dionne <marc.dionne@auristor.com> --- The following changes since commit 6e7765cb477a9753670d4351d14de93f1e9dbbd4:
Merge tag 'asm-generic-fixes-5.19-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic (2022-07-27 09:50:18 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-20220802
for you to fetch changes up to 2757a4dc184997c66ef1de32636f73b9f21aac14:
afs: Fix access after dec in put functions (2022-08-02 18:21:29 +0100)
---------------------------------------------------------------- AFS fixes
---------------------------------------------------------------- David Howells (2): afs: Use refcount_t rather than atomic_t afs: Fix access after dec in put functions
fs/afs/cell.c | 61 ++++++++++++++++++++++------------------------ fs/afs/cmservice.c | 4 +-- fs/afs/internal.h | 16 ++++++------ fs/afs/proc.c | 6 ++--- fs/afs/rxrpc.c | 31 ++++++++++++----------- fs/afs/server.c | 46 ++++++++++++++++++++-------------- fs/afs/vl_list.c | 19 +++++---------- fs/afs/volume.c | 21 ++++++++++------ include/trace/events/afs.h | 36 +++++++++++++-------------- 9 files changed, 124 insertions(+), 116 deletions(-)
| |