]> git.ipfire.org Git - thirdparty/linux.git/commit
sysctl: Convert locking comments to lockdep assertions
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 29 Jun 2024 17:24:31 +0000 (19:24 +0200)
committerJoel Granados <joel.granados@kernel.org>
Thu, 10 Oct 2024 19:01:17 +0000 (21:01 +0200)
commit8e666244c98a246f25172cd25aa91ee44d0e6230
tree9e41c63990c4e53900bdbd4b84b8ac7d6f9479e4
parent5cc3199ed06c978e7ae785deb316dfebbbfe37ae
sysctl: Convert locking comments to lockdep assertions

The assertions work as well as the comment to inform developers about
locking expectations.
Additionally they are validated by lockdep at runtime, making sure the
expectations are met.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
fs/proc/proc_sysctl.c