t / t5100 / msg0016on commit write_entry(): separate two helper functions out (fd5db55)
   1and some content
   2