aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mpow.c
diff options
context:
space:
mode:
authorMateusz Guzik <[email protected]>2025-11-05 21:20:25 +0000
committerChristian Brauner <[email protected]>2025-11-12 09:47:42 +0000
commit56325e8c68c0724d626f665773a5005dcf44e329 (patch)
treee1b5635e0fd61069b505895f1dd2fa4414a93ba5 /lib/mpi/mpi-mpow.c
parentfs: add iput_not_last() (diff)
downloadkernel-56325e8c68c0724d626f665773a5005dcf44e329.tar.gz
kernel-56325e8c68c0724d626f665773a5005dcf44e329.zip
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: 2ef435a872ab ("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]>
Diffstat (limited to 'lib/mpi/mpi-mpow.c')
0 files changed, 0 insertions, 0 deletions