]> www.infradead.org Git - users/jedix/linux-maple.git/commit
lockref: use bool for false/true returns
authorChristoph Hellwig <hch@lst.de>
Wed, 15 Jan 2025 09:46:39 +0000 (10:46 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 16 Jan 2025 10:48:11 +0000 (11:48 +0100)
commit6d2868d5b6fca7534641440efe432cf268bd8e1b
tree5c3e285b8ee690b98bcdd1a56f4884e070b1b6b3
parentd60f2280a1b5b9a4796f9a13f7fdff1d0b99f718
lockref: use bool for false/true returns

Replace int used as bool with the actual bool type for return values that
can only be true or false.

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