diff options
Diffstat (limited to 'sys/geom/journal/g_journal.c')
-rw-r--r-- | sys/geom/journal/g_journal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/journal/g_journal.c b/sys/geom/journal/g_journal.c index 2db2364..e6592d0 100644 --- a/sys/geom/journal/g_journal.c +++ b/sys/geom/journal/g_journal.c @@ -2939,7 +2939,7 @@ g_journal_do_switch(struct g_class *classp) GJ_TIMER_STOP(1, &bt, "Msync time of %s", mountpoint); GJ_TIMER_START(1, &bt); - error = VFS_SYNC(mp, MNT_NOWAIT, curthread); + error = VFS_SYNC(mp, MNT_NOWAIT); if (error == 0) GJ_TIMER_STOP(1, &bt, "Sync time of %s", mountpoint); else { |