diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2022-12-13 20:07:28 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-05-29 11:03:22 +0200 |
commit | 46022375abe8160b6c952a2ca0ea7988be6b888d (patch) | |
tree | 4e405fbdb457456c56a8797a205f07fc90accaff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 86008392695bd7a910b9d1452c828f9c7d1a6a1f (diff) |
ext2_get_page(): saner type
We need to pass to caller both the page reference and pointer to the
first byte in the now-mapped page. The former always has the same type,
the latter varies from caller to caller. So make it
void *ext2_get_page(...., struct page **page)
rather than
struct page *ext2_get_page(..., void **page_addr)
and avoid the casts...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Reviewed-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Tested-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions