1) take care of the file size for the flush
2) remove the copy of the attributes file in the file descriptor:
    the file length is always taken from the ientry cache.