]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: constify iomap_iter_srcmap
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Aug 2021 01:33:16 +0000 (18:33 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 04:26:33 +0000 (21:26 -0700)
commite93910b29d5291e2673608485066907ceb4d5927
tree91a0ea2be293287a7c5c521d3cafb504e57b663d
parenta38545a56e079a8ea681b91e3a69ae5d8a5d76d8
iomap: constify iomap_iter_srcmap

The srcmap returned from iomap_iter_srcmap is never modified, so mark
the iomap returned from it const and constify a lot of code that never
modifies the iomap.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c
include/linux/iomap.h