]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
timens: Use task_lock guard in timens_get*()
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Mon, 30 Mar 2026 07:07:58 +0000 (09:07 +0200)
committerThomas Gleixner <tglx@kernel.org>
Wed, 1 Apr 2026 15:13:36 +0000 (17:13 +0200)
commit7138a8698a39e81eb153e05500823fff76d5b3bd
tree040f2bffa327e62fefac7cbcbc1921b45232befa
parent6d89dc8b1c559ee2662db86f7490ac52cab3030c
timens: Use task_lock guard in timens_get*()

Simplify the logic in timens_get*() by converting the task_lock
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-4-936e91c9dd30@linutronix.de
kernel/time/namespace.c