]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: remove useless lockdep assertion
authorChristian Brauner <brauner@kernel.org>
Thu, 19 Dec 2024 13:59:14 +0000 (14:59 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 9 Jan 2025 15:58:55 +0000 (16:58 +0100)
commit22eb23b8a7b2536a475ac87244ee4ab50764eccd
treecfaea87d2be106f3cd3f7de20c7c06cd0feb0981
parent7f9bfafc5f496cf2222659890477d0408455369e
fs: remove useless lockdep assertion

mnt_ns_release() can run asynchronously via call_rcu() so hitting that
lockdep assertion means someone else already grabbed the
mnt_ns_tree_lock and causes a false positive. That assertion has likely
always been wrong. call_rcu() just makes it more likely to hit.

Link: https://lore.kernel.org/r/Z2PlT5rcRTIhCpft@ly-workstation
Link: https://lore.kernel.org/r/20241219-darben-quietschen-b6e1d80327bb@brauner
Reported-by: Lai, Yi <yi1.lai@linux.intel.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namespace.c