]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
commitc859df526b203497227b2b16c9bebcede67221e4
treeb3263043b3e9b19a1d1c26d1b7de991c2fb80585
parent4f3b63e8a8a28e3dcdcf3ff260f57a732a20b92b
parent3e652eba244c222b0ba95a3f6fd79315eb020f73
Merge patch series "lockref cleanups"

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>