xfs_bmap_last_extent
error = xfs_bmap_last_extent(NULL, bma->ip, whichfork, &rec,
error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty);
error = xfs_bmap_last_extent(NULL, ip, XFS_DATA_FORK, &got, &is_empty);
int xfs_bmap_last_extent(struct xfs_trans *tp, struct xfs_inode *ip,