lockref: remove count argument of lockref_init

All users of lockref_init() now initialize the count to 1, so hardcode
that and remove the count argument.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Link: https://lore.kernel.org/r/20250130135624.1899988-4-agruenba@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Andreas Gruenbacher 2025-01-30 14:56:23 +01:00 • committed by Christian Brauner
commit bb504b4d64
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
5 changed files with 8 additions and 7 deletions