buffer shouldn’t remain flagged as modified after write has been
accomplished