summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBernd Schubert <bschubert@ddn.com>2024-12-17 00:14:06 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2025-03-31 15:59:27 +0300
commit2412085da370836945c2daa61c5cee38dd979e0d (patch)
treee70e6d953cf8757d3935c17ce047d3032335167e /tools/perf/scripts/python/libxed.py
parent9b17cb59a7db983a967c3658fe9a2f250f588bbd (diff)
downloadlinux-2412085da370836945c2daa61c5cee38dd979e0d.tar.xz
fuse: Allocate only namelen buf memory in fuse_notify_
fuse_notify_inval_entry and fuse_notify_delete were using fixed allocations of FUSE_NAME_MAX to hold the file name. Often that large buffers are not needed as file names might be smaller, so this uses the actual file name size to do the allocation. Signed-off-by: Bernd Schubert <bschubert@ddn.com> Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions