Re: [PATCH 04/13] xfs: initialize iomap->flags in xfs_bmbt_to_iomap

2019-06-27 Thread Darrick J. Wong
On Thu, Jun 27, 2019 at 12:48:27PM +0200, Christoph Hellwig wrote: > Currently we don't overwrite the flags field in the iomap in > xfs_bmbt_to_iomap. This works fine with 0-initialized iomaps on stack, > but is harmful once we want to be able to reuse an iomap in the > writeback code. Replace th

[PATCH 04/13] xfs: initialize iomap->flags in xfs_bmbt_to_iomap

2019-06-27 Thread Christoph Hellwig
Currently we don't overwrite the flags field in the iomap in xfs_bmbt_to_iomap. This works fine with 0-initialized iomaps on stack, but is harmful once we want to be able to reuse an iomap in the writeback code. Replace the shared paramter with a set of initial flags an thus ensures the flags fie