summaryrefslogtreecommitdiff
path: root/kernel/bpf/helpers.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2025-06-22 23:38:51 -0700
committerChristian Brauner <brauner@kernel.org>2025-07-02 14:18:20 +0200
commitfb7b30cb0e31bce904b4ec6a20e863351f9fee82 (patch)
tree9b620d3d6d054a73b9289966d1e6a5063aecb506 /kernel/bpf/helpers.c
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (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