/* Extract the startoff field from a disk format bmap extent record.  */
xfs_fileoff_t xfs_bmbt_disk_get_startoff(xfs_bmbt_rec_t *r)
/* Extract the startoff field from a disk format bmap extent record.  */
xfs_fileoff_t xfs_bmbt_disk_get_startoff(xfs_bmbt_rec_t *r)
{
	return ((xfs_fileoff_t)be64_to_cpu(r->l0) &
		 xfs_mask64lo(64 - BMBT_EXNTFLAG_BITLEN)) >> 9;
}