]> asedeno.scripts.mit.edu Git - linux.git/commit
iomap: move the zeroing case out of iomap_read_page_sync
authorChristoph Hellwig <hch@lst.de>
Fri, 18 Oct 2019 23:42:24 +0000 (16:42 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 15:51:59 +0000 (08:51 -0700)
commitd3b404396977fde1daca3fb4fd4d3b01a3749093
tree88ffe49a75ee1145b0d3e0fbb939bb46f32c72c0
parent3590c4d8979bcc364e2ded95ab3966b4e436b7bf
iomap: move the zeroing case out of iomap_read_page_sync

That keeps the function a little easier to understand, and easier to
modify for pending enhancements.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap/buffered-io.c