]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lockref: improve the lockref_get_not_zero description
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Jan 2025 09:46:38 +0000 (10:46 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 16 Jan 2025 10:48:11 +0000 (11:48 +0100)
commitd60f2280a1b5b9a4796f9a13f7fdff1d0b99f718
tree33a0c8233b976098dc08ee67420fd0b3950a5401
parent4b193fa75efffd90c054d1a7f2b5dbe29a461c14
lockref: improve the lockref_get_not_zero description

lockref_put_return returns exactly -1 and not "an error" when the lockref
is dead or locked.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250115094702.504610-3-hch@lst.de
Signed-off-by: Christian Brauner <brauner@kernel.org>
lib/lockref.c