diff options
author | Bernd Schubert <bschubert@ddn.com> | 2024-12-17 00:14:06 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2025-03-31 15:59:27 +0300 |
commit | 2412085da370836945c2daa61c5cee38dd979e0d (patch) | |
tree | e70e6d953cf8757d3935c17ce047d3032335167e /tools/perf/scripts/python/libxed.py | |
parent | 9b17cb59a7db983a967c3658fe9a2f250f588bbd (diff) | |
download | linux-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