diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2023-12-20 08:29:25 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2024-01-15 17:54:54 +0300 |
commit | 2a965d1b15d28065b35ab4ebd1e51558fcd91aa5 (patch) | |
tree | 4e7b31e75425d942f48c77a6462d1d3ced82e3f6 /net/smc/smc_ism.h | |
parent | f6fb21b22fbe443f92b0d580391a7fb46d1840df (diff) | |
download | linux-2a965d1b15d28065b35ab4ebd1e51558fcd91aa5.tar.xz |
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 <viro@zeniv.linux.org.uk>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/smc/smc_ism.h')
0 files changed, 0 insertions, 0 deletions