summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2023-12-20 08:29:25 +0300
committerIlya Dryomov <idryomov@gmail.com>2024-01-15 17:54:54 +0300
commit2a965d1b15d28065b35ab4ebd1e51558fcd91aa5 (patch)
tree4e7b31e75425d942f48c77a6462d1d3ced82e3f6 /include/linux
parentf6fb21b22fbe443f92b0d580391a7fb46d1840df (diff)
downloadlinux-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 'include/linux')
0 files changed, 0 insertions, 0 deletions