On Wed, Jul 20, 2016 at 10:00:02PM -0700, Darrick J. Wong wrote: > Provide a function to convert an unwritten extent to a real one and > vice versa. > > v2: Move unwritten bit to rm_offset. > > v3: Fix a bug where we touched the wrong btree_irec field due to a > stupid cut-and-paste error. > > Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> I've added a comment to the commit message that the algorithm and code structure has been derived from xfs_bmap_add_extent_unwritten_real(). It looks to be correct. -Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html