Error rectified: GenerateInode() was in an infinte loop