[Cluster-devel] [PATCH v2.1 19/30] iomap: switch iomap_bmap to use iomap_iter

Dave Chinner david at fromorbit.com
Tue Aug 17 02:35:38 UTC 2021


On Wed, Aug 11, 2021 at 12:18:00PM -0700, Darrick J. Wong wrote:
> From: Christoph Hellwig <hch at lst.de>
> 
> Rewrite the ->bmap implementation based on iomap_iter.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> [djwong: restructure the loop to make its behavior a little clearer]
> Reviewed-by: Darrick J. Wong <djwong at kernel.org>
> Signed-off-by: Darrick J. Wong <djwong at kernel.org>
> ---
>  fs/iomap/fiemap.c |   31 +++++++++++++------------------
>  1 file changed, 13 insertions(+), 18 deletions(-)

Looks good.

Reviewed-by: Dave Chinner <dchinner at redhat.com>

-- 
Dave Chinner
david at fromorbit.com




More information about the Cluster-devel mailing list