Collections.addAll(allExtents, extents);
// Only check for overflow extents if the last non-overflow extent is in use
if (!extents[7].isEmpty() && overflowExtents == null) {
int forkType = dataFork ? ExtentKey.DATA_FORK : ExtentKey.RESOURCE_FORK;
overflowExtents = fileSystem.getExtentOverflow().getOverflowExtents(new ExtentKey(forkType, 0, cnid, 0));
}
// Add the overflow extents if the exist
if (overflowExtents != null) {
Collections.addAll(allExtents, overflowExtents);