nstree: use guards for ns_tree_lock

Make use of the guard infrastructure for ns_tree_lock.

Link: https://patch.msgid.link/20251110-work-namespace-nstree-fixes-v1-7-e8a9264e0fb9@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2025-11-10 16:08:19 +01:00
commit 298ab06ae4
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2