diff options
author | Al Viro <[email protected]> | 2024-07-14 21:49:04 -0400 |
---|---|---|
committer | Al Viro <[email protected]> | 2024-11-03 01:28:06 -0500 |
commit | f302edb9d822804e72df3fa6ba270234050c678b (patch) | |
tree | 01ba6ce53daa3bb3a604fdef197802a7b58fa3a2 /tools/perf/scripts/python/parallel-perf.py | |
parent | 4dd53b84ff23424e2fe1e902decacdb49303e3d3 (diff) |
switch netlink_getsockbyfilp() to taking descriptor
the only call site (in do_mq_notify()) obtains the argument
from an immediately preceding fdget() and it is immediately
followed by fdput(); might as well just replace it with
a variant that would take a descriptor instead of struct file *
and have file lookups handled inside that function.
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions