registerBlockIndex(i, newBlock); }
long newBlock = findFreeBlock(i);  log.debug("Allocated new block " + newBlock);  desc.setLastAllocatedBlockIndex(i);  registerBlockIndex(i, newBlock); }
	public synchronized void allocateDataBlock(long i) throws FileSystemException, IOException {		if(i < getAllocatedBlockCount())			throw new IOException(i+" blocks are already allocated for this inode");		if(i > getAllocatedBlockCount())			throw new IOException("Allocate block "+getAllocatedBlockCount()+" first!");			long newBlock = findFreeBlock(i);				log.debug("Allocated new block "+newBlock);				desc.setLastAllocatedBlockIndex(i);		registerBlockIndex(i, newBlock);	}