[GFS2] Move some code inside the log lock