diff options
author | Al Viro <[email protected]> | 2023-12-20 05:29:25 +0000 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2024-01-15 15:54:54 +0100 |
commit | 2a965d1b15d28065b35ab4ebd1e51558fcd91aa5 (patch) | |
tree | 4e7b31e75425d942f48c77a6462d1d3ced82e3f6 /tools/perf/util/trace-event-scripting.c | |
parent | f6fb21b22fbe443f92b0d580391a7fb46d1840df (diff) |
ceph: get rid of passing callbacks in __dentry_leases_walk()
__dentry_leases_walk() gets a callback and calls it for
a bunch of denties; there are exactly two callers and
we already have a flag telling them apart - lwc->dir_lease.
Seeing that indirect calls are costly these days, let's
get rid of the callback and just call the right function
directly. Has a side benefit of saner signatures...
[ xiubli: a minor fix in the commit title ]
Signed-off-by: Al Viro <[email protected]>
Reviewed-by: Xiubo Li <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions