buf: Make buf_daemon_shutdown() a no-op after a panic
As in commit 9d7cc536e2
, there is no need to do anything in this
context.
MFC after: 1 week
This commit is contained in:
parent
2a02d3dad3
commit
bcd8cd859e
@ -3419,6 +3419,9 @@ buf_daemon_shutdown(void *arg __unused, int howto __unused)
|
||||
{
|
||||
int error;
|
||||
|
||||
if (KERNEL_PANICKED())
|
||||
return;
|
||||
|
||||
mtx_lock(&bdlock);
|
||||
bd_shutdown = true;
|
||||
wakeup(&bd_request);
|
||||
|
Loading…
Reference in New Issue
Block a user