hammer2 - Correct state recording bugs in vfs