[PATCH 0/3] further lockref cleanups

Andreas Gruenbacher posted 3 patches 1 year ago
There is a newer version of this series
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(-)
[PATCH 0/3] further lockref cleanups
Posted by Andreas Gruenbacher 1 year ago
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