]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge patch series "lockref cleanups"
authorChristian Brauner <brauner@kernel.org>
Wed, 15 Jan 2025 10:50:29 +0000 (11:50 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 16 Jan 2025 10:48:12 +0000 (11:48 +0100)
Christoph Hellwig <hch@lst.de> says:

This series has a bunch of cosmetic cleanups for the lockref code I came up
with when reading the code in preparation of adding a new user of it.

* patches from https://lore.kernel.org/r/20250115094702.504610-1-hch@lst.de:
  gfs2: use lockref_init for qd_lockref
  erofs: use lockref_init for pcl->lockref
  dcache: use lockref_init for d_lockref
  lockref: add a lockref_init helper
  lockref: drop superfluous externs
  lockref: use bool for false/true returns
  lockref: improve the lockref_get_not_zero description
  lockref: remove lockref_put_not_zero

Link: https://lore.kernel.org/r/20250115094702.504610-1-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>

Trivial merge