/* Extract the blockcount field from an on disk bmap extent record.  */
xfs_filblks_t xfs_bmbt_disk_get_blockcount(xfs_bmbt_rec_t *r)
/* Extract the blockcount field from an on disk bmap extent record.  */
xfs_filblks_t xfs_bmbt_disk_get_blockcount(xfs_bmbt_rec_t *r)
{
	return (xfs_filblks_t)(be64_to_cpu(r->l1) & xfs_mask64lo(21));
}