]> 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)
commita27f06bf8e3409c1fec1899ae1ff106be289024e
tree88ffe49a75ee1145b0d3e0fbb939bb46f32c72c0
parentf0986a8d3e90e2315d7816bf200a66bab24103b5
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