milos-linux/fs/kernfs
Christian Brauner fb7b30cb0e
kernfs: remove iattr_mutex
All allocations of struct kernfs_iattrs are serialized through a global
mutex. Simply do a racy allocation and let the first one win. I bet most
callers are under inode->i_rwsem anyway and it wouldn't be needed but
let's not require that.

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/20250623063854.1896364-2-song@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
2025-07-02 14:18:20 +02:00
..
dir.c kernfs: Relax constraint in draining guard 2025-05-21 14:23:13 +02:00
file.c kernfs: Relax constraint in draining guard 2025-05-21 14:23:13 +02:00
inode.c kernfs: remove iattr_mutex 2025-07-02 14:18:20 +02:00
Kconfig
kernfs-internal.h kernfs: switch global kernfs_rename_lock to per-fs lock 2025-04-25 16:01:57 +02:00
Makefile
mount.c vfs-6.16-rc1.super 2025-05-26 09:33:44 -07:00
symlink.c kernfs: Use RCU to access kernfs_node::name. 2025-02-15 17:46:32 +01:00