[PATCH 0/3] further lockref cleanups

Andreas Gruenbacher
2025-01-29T14:34:01Z

As discussed in Christoph's "lockref cleanups" thread [*], here are some
further cleanups in gfs2 that then allow lockref_init's count argument
to be dropped. Please review.

Christian, can this go into the vfs tree as Christioph's previous
cleanups did?

Thanks,
Andreas

[*] https://lore.kernel.org/lkml/20250115094702.504610-1-hch@lst.de/

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 | 5 ++---
6 files changed, 7 insertions(+), 9 deletions(-)

--
2.48.1