diff options
author | Christian Brauner <brauner@kernel.org> | 2025-06-22 23:38:51 -0700 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-06-23 13:03:12 +0200 |
commit | d1f4e9026007d50e6b28cf8f57a38f03fc3b0ce6 (patch) | |
tree | 2d22a885cb79109a4768a4b9bdc5b1cddf38d1d8 /kernel/bpf/helpers.c | |
parent | 19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff) |
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>
Diffstat (limited to 'kernel/bpf/helpers.c')
0 files changed, 0 insertions, 0 deletions