]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: add mount namespace to rbtree late
authorChristian Brauner <brauner@kernel.org>
Thu, 12 Dec 2024 23:03:41 +0000 (00:03 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 9 Jan 2025 15:58:51 +0000 (16:58 +0100)
commit144acef3334eb664fae4a2e1e35fdd693fc07d4e
tree6b1e1467a32b7d66c709d69fab0d4cc96d94fd94
parent62b8dee925023ed2a2b417dea657e3e3e57c4117
fs: add mount namespace to rbtree late

There's no point doing that under the namespace semaphore it just gives
the false impression that it protects the mount namespace rbtree and it
simply doesn't.

Link: https://lore.kernel.org/r/20241213-work-mount-rbtree-lockless-v3-2-6e3cdaf9b280@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namespace.c