diff options
author | 2022-02-09 20:21:23 +0000 | |
---|---|---|
committer | 2022-03-14 15:43:16 -0400 | |
commit | c14c6843aeb8cdc8f6b0e49411d230e6f6dfda62 (patch) | |
tree | 7bf433991730781eef3ec7ed52587a121fb335c9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: Fix iomap_invalidatepage tracepoint (diff) | |
download | linux-dev-c14c6843aeb8cdc8f6b0e49411d230e6f6dfda62.tar.xz linux-dev-c14c6843aeb8cdc8f6b0e49411d230e6f6dfda62.zip |
fs: read_mapping_page() should take a struct file argument
While read_cache_page() takes a void *, because you can pass a
pointer to anything as the first argument of filler_t, if we
are calling read_mapping_page(), it will be passed as the first
argument of ->readpage, so we know this must be a struct file
pointer, and we should let the compiler enforce that for us.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Mike Marshall <hubcap@omnibond.com> # orangefs
Tested-by: David Howells <dhowells@redhat.com> # afs
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions