logfs: fix deadlock in logfs_get_wblocks, hold and wait on super->s_write_mutex