Re: [PATCH] iomap: iomap_bmap should check iomap_apply return value

Christoph Hellwig
2019-11-07T08:30:53Z

On Wed, Nov 06, 2019 at 06:59:27PM -0800, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Check the return value of iomap_apply and return 0 (i.e. error) if it
> didn't succeed.

And how could we set the bno value if we didn't succeed?