diff options
author | Joanne Koong <[email protected]> | 2024-08-26 14:19:05 -0700 |
---|---|---|
committer | Miklos Szeredi <[email protected]> | 2024-08-29 11:43:12 +0200 |
commit | 672c3b7457fcee9656c36a29a4b21ec4a652433e (patch) | |
tree | 4f2d008fb59c9d206a869f9d0e75389117db7959 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | c04e3b2118192384153b4eac595768e2ffb7ac4a (diff) |
fuse: move initialization of fuse_file to fuse_writepages() instead of in callback
Prior to this change, data->ff is checked and if not initialized then
initialized in the fuse_writepages_fill() callback, which gets called
for every dirty page in the address space mapping.
This logic is better placed in the main fuse_writepages() caller where
data.ff is initialized before walking the dirty pages.
No functional changes added.
Signed-off-by: Joanne Koong <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions