log write cleanups

Christoph Hellwig
2021-06-16T16:32:32Z

Hi all,

this series cleans up a few loose ends that I noticed while reviewing
the recent log rework.