]> git.ipfire.org Git - thirdparty/linux.git/commit
timens: Use mutex guard in proc_timens_set_offset()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 30 Mar 2026 07:07:57 +0000 (09:07 +0200)
committerThomas Gleixner <tglx@kernel.org>
Wed, 1 Apr 2026 15:13:35 +0000 (17:13 +0200)
commit6d89dc8b1c559ee2662db86f7490ac52cab3030c
tree01b1b84d0b1818f2bc09986303f8004208041fff
parent3fa3aeb4a5cb19e372680ef8860a0381cd5409e9
timens: Use mutex guard in proc_timens_set_offset()

Simplify the logic in proc_timens_set_offset() by converting the mutex
usage to a guard().

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20260330-timens-cleanup-v1-3-936e91c9dd30@linutronix.de
kernel/time/namespace.c