public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: torvalds@linux-foundation.org
Cc: dhowells@redhat.com, marc.dionne@auristor.com,
	linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] afs: Fix refcount handling
Date: Tue, 09 Aug 2022 14:41:02 +0100	[thread overview]
Message-ID: <432490.1660052462@warthog.procyon.org.uk> (raw)

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(-)


             reply	other threads:[~2022-08-09 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09 13:41 David Howells [this message]
2022-08-09 17:29 ` [GIT PULL] afs: Fix refcount handling pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=432490.1660052462@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=linux-afs@lists.infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marc.dionne@auristor.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox