diff options
author | 2021-11-02 11:41:16 -0400 | |
---|---|---|
committer | 2021-12-18 00:06:08 -0500 | |
commit | 81d4782a741b21c101eb368c120f65f7d624c219 (patch) | |
tree | de7ba07ccf5d7e68ebfb90e7eb0fbd26a2708251 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iomap: Simplify iomap_writepage_map() (diff) | |
download | wireguard-linux-81d4782a741b21c101eb368c120f65f7d624c219.tar.xz wireguard-linux-81d4782a741b21c101eb368c120f65f7d624c219.zip |
iomap: Simplify iomap_do_writepage()
Rename end_offset to end_pos and offset_into_page to poff to match the
rest of the file. Simplify the handling of the last page straddling
i_size by doing the EOF check based on the byte granularity i_size
instead of converting to a pgoff prematurely.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions