afs: Fix refcount handling
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
---
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(-)
The pull request you sent on Tue, 09 Aug 2022 14:41:02 +0100:
The pull request you sent on Tue, 09 Aug 2022 14:41:02 +0100:
Quoted 1 line
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.gittags/afs-fixes-20220802
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4b22e2074195097c9d6bdc688288d12b7b236bae
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html