Files
linux/fs
Mateusz Guzik 91e27ed8a3 lockref: tidy up dead count handling
1. put the dead val into a macro so that it can be used in other places
2. __lockref_is_dead():
- drop the __ suffix, this is not an internal routine
- drop the spurious cast, the value is already a signed int
- use READ_ONCE to prevent any compile shenanigans
3. provide lockref_is_dead_or_zero()

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20260724171422.429284-2-mjguzik@gmail.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-07-31 10:09:12 +02:00
..
2026-07-01 12:47:23 +02:00
2026-05-21 13:39:35 +02:00
2026-07-31 10:09:12 +02:00
2026-06-11 11:42:21 -07:00
2026-07-31 10:09:12 +02:00
2026-01-02 13:43:41 -05:00
2026-05-21 13:39:35 +02:00
2026-07-31 10:09:06 +02:00
2026-07-31 10:09:12 +02:00
2026-07-31 10:09:11 +02:00
2026-06-29 10:27:27 +02:00
2026-06-30 12:48:38 +02:00
2026-07-31 10:09:11 +02:00