diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-11-02 18:41:16 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-18 08:06:08 +0300 |
commit | 81d4782a741b21c101eb368c120f65f7d624c219 (patch) | |
tree | de7ba07ccf5d7e68ebfb90e7eb0fbd26a2708251 /fs/pstore/pmsg.c | |
parent | 926550362d609bba6aa3f8cab99ae324adadc343 (diff) | |
download | linux-81d4782a741b21c101eb368c120f65f7d624c219.tar.xz |
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 'fs/pstore/pmsg.c')
0 files changed, 0 insertions, 0 deletions