[GIT PULL] afs: Fix refcount handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx>
Tested-by: Marc Dionne <marc.dionne@xxxxxxxxxxxx>
---
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(-)





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux