Files
linux/security
Mateusz Guzik 56325e8c68 landlock: fix splats from iput() after it started calling might_sleep()
At this point it is guaranteed this is not the last reference.

However, a recent addition of might_sleep() at top of iput() started
generating false-positives as it was executing for all values.

Remedy the problem by using the newly introduced iput_not_last().

Reported-by: [email protected]
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: 2ef435a872 ("fs: add might_sleep() annotation to iput() and more")
Signed-off-by: Mateusz Guzik <[email protected]>
Link: https://patch.msgid.link/[email protected]
Reviewed-by: Mickaël Salaün <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
2025-11-12 10:47:42 +01:00
..
2025-09-22 15:52:44 -04:00
2025-04-11 18:58:10 -07:00