diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-02-24 12:02:15 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:28 -0800 |
| commit | 68430303c84e1fd457a05f424b02ea8393708552 (patch) | |
| tree | 234b569605da408e35671b19a2f2348028403842 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 33a0f5c6b34f58e632f1855ff29228d49bc23bcc (diff) | |
mm/filemap: change filemap_read_page calling conventions
Make this function more generic by passing the file instead of the iocb.
Check in the callers whether we should call readpage or not. Also make it
return an errno / 0 / AOP_TRUNCATED_PAGE, and make calling put_page() the
caller's responsibility.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Kent Overstreet <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Miaohe Lin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions