]> git.baikalelectronics.ru Git - kernel.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)
commit8481644facd8d1a34aeaf2684916f60da167de1b
tree88ffe49a75ee1145b0d3e0fbb939bb46f32c72c0
parenta21f3d0f9eb7652398873a8fd33164b3d30a344a
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