]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fs: simplify rwlock to spinlock
authorChristian Brauner <brauner@kernel.org>
Thu, 12 Dec 2024 23:03:45 +0000 (00:03 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 9 Jan 2025 15:58:52 +0000 (16:58 +0100)
commite7c8dde36818ffa101045cfc887c49cd631048ee
tree78cac646a51ddf2615430a84e42a63540f9110f7
parent4368898b271ad4ea3b6ae64f5cd16486a6d65430
fs: simplify rwlock to spinlock

We're not taking the read_lock() anymore now that all lookup is
lockless. Just use a simple spinlock.

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