diff options
| author | 2026-01-20 14:44:47 -0800 | |
|---|---|---|
| committer | 2026-03-03 17:43:26 +0100 | |
| commit | 25307ca50b815c14a21f82fc5b10e8a621af32ad (patch) | |
| tree | c1a1327ed7f04eb0d3a093272e91f2d883d9752d /tools/perf/scripts/python | |
| parent | fuse: validate outarg offset and size in notify store/retrieve (diff) | |
fuse: simplify logic in fuse_notify_store() and fuse_retrieve()
Simplify the folio parsing logic in fuse_notify_store() and
fuse_retrieve().
In particular, calculate the index by tracking pos, which allows us to
remove calculating nr_pages, and use "pos" in place of outarg's offset
field.
Suggested-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Reviewed-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
