OSDN Git Service

afs: Use refcount_t rather than atomic_t
authorDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2022 09:52:14 +0000 (10:52 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 2 Aug 2022 17:10:11 +0000 (18:10 +0100)
commitc56f9ec8b20f931014574b943590c4d830109380
tree44487b7efb9bb3c31f3741c7bdd9505b66873d28
parent6e7765cb477a9753670d4351d14de93f1e9dbbd4
afs: Use refcount_t rather than atomic_t

Use refcount_t rather than atomic_t in afs to make use of the count
checking facilities provided.

Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Marc Dionne <marc.dionne@auristor.com>
cc: linux-afs@lists.infradead.org
Link: https://lore.kernel.org/r/165911277768.3745403.423349776836296452.stgit@warthog.procyon.org.uk/
fs/afs/cell.c
fs/afs/cmservice.c
fs/afs/internal.h
fs/afs/proc.c
fs/afs/rxrpc.c
fs/afs/server.c
fs/afs/vl_list.c
fs/afs/volume.c
include/trace/events/afs.h