protected void expandRecord(long beginning, long end) throws FileSystemException{
protected synchronized void expandRecord(long beginning, long end) throws FileSystemException{
	protected void expandRecord(long beginning, long end) throws FileSystemException{		log.debug("expandRecord("+beginning + ", "+ end+")");		if(beginning+getNameLen()+8 < end) {			//the record fits in the block			setRecLen((int)(end - beginning));			//pad the end of the record with zeroes			byte[] newData = new byte[getRecLen()];			Arrays.fill(newData, 0, getRecLen(), (byte)0);			System.arraycopy(data, getOffset(), newData, 0, getNameLen()+8);			setOffset(0);			setFileOffset(beginning);			data=newData;		} else 			throw new FileSystemException("The directory record does not fit into the block!");		log.debug("expandRecord(): newLength: "+getRecLen());	}