[PATCH v2 0/3] further lockref cleanups

From: Andreas Gruenbacher
Date: Thu Jan 30 2025 - 08:56:55 EST


Here's an updated version with:

* An additional comment saying that lockref_init() initializes
count to 1.

* Reviewed-by tags from Christoph.

Thanks,
Andreas

Andreas Gruenbacher (3):
gfs2: use lockref_init for gl_lockref
gfs2: switch to lockref_init(..., 1)
lockref: remove count argument of lockref_init

fs/dcache.c | 2 +-
fs/erofs/zdata.c | 2 +-
fs/gfs2/glock.c | 2 +-
fs/gfs2/main.c | 1 -
fs/gfs2/quota.c | 4 ++--
include/linux/lockref.h | 7 ++++---
6 files changed, 9 insertions(+), 9 deletions(-)

--
2.48.1