diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-11-02 17:51:55 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-18 08:06:08 +0300 |
commit | 926550362d609bba6aa3f8cab99ae324adadc343 (patch) | |
tree | 2e9940e957795e7cff0d0ec762fd82075b1faf2a /fs/qnx4/qnx4.h | |
parent | 6e478521df535b9d5ef5eb84d4352f235bbbef99 (diff) | |
download | linux-926550362d609bba6aa3f8cab99ae324adadc343.tar.xz |
iomap: Simplify iomap_writepage_map()
Rename end_offset to end_pos and file_offset to pos to match the rest
of the file. Simplify the loop by calculating nblocks up front instead
of each time around the loop.
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/qnx4/qnx4.h')
0 files changed, 0 insertions, 0 deletions