geom_journal: Only stop the switcher process if one was started.
PR: 243196 MFC after: 1 week
This commit is contained in:
parent
3035d538a4
commit
c205ac921b
@ -2757,7 +2757,8 @@ g_journal_fini(struct g_class *mp)
|
||||
}
|
||||
if (g_journal_event_lowmem != NULL)
|
||||
EVENTHANDLER_DEREGISTER(vm_lowmem, g_journal_event_lowmem);
|
||||
g_journal_stop_switcher();
|
||||
if (g_journal_switcher_proc != NULL)
|
||||
g_journal_stop_switcher();
|
||||
}
|
||||
|
||||
DECLARE_GEOM_CLASS(g_journal_class, g_journal);
|
||||
|
Loading…
Reference in New Issue
Block a user