iomap: switch iomap_fiemap to use iomap_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Aug 2021 01:33:10 +0000 (18:33 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 04:26:33 +0000 (21:26 -0700)
commit7892386d35715d14c469ec98b6deab037e2e2232
treef0939e2b0f66095fb961fd6b6dd851c154696b15
parenta6d3d49587d10d23189675fce11b332a915081ff
iomap: switch iomap_fiemap to use iomap_iter

Rewrite the ->fiemap implementation based on iomap_iter.

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/fiemap.c