mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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]>