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 _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs