]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: switch iomap_bmap to use iomap_iter
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Aug 2021 01:33:11 +0000 (18:33 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 04:26:33 +0000 (21:26 -0700)
commit5a6293d64e10731a456405ce5ef801f7c5b6a574
tree998bfd4b1fa7076aa378185f88194595b777157c
parent9869486d341e52a1f11b4c7e59bc8e53fd67bc36
iomap: switch iomap_bmap to use iomap_iter

Rewrite the ->bmap implementation based on iomap_iter.

Signed-off-by: Christoph Hellwig <hch@lst.de>
[djwong: restructure the loop to make its behavior a little clearer]
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/iomap/fiemap.c