]> www.infradead.org Git - users/hch/xfs.git/commit
lockref: remove count argument of lockref_init
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 30 Jan 2025 13:56:23 +0000 (14:56 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 7 Feb 2025 09:27:25 +0000 (10:27 +0100)
commitbb504b4d64266fa0d7460c218c85afed371db03a
tree5e25bfc902fc92efa01e566105e1c9aaa3ffc7cb
parent34ad6fa2add2b38f2a89d28518de0142bff8fb43
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>
fs/dcache.c
fs/erofs/zdata.c
fs/gfs2/glock.c
fs/gfs2/quota.c
include/linux/lockref.h