mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Drop Giant before calling kthread_exit().
This commit is contained in:
parent
5b525a3230
commit
01660e7bc2
1 changed files with 1 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ finish:
|
|||
/* Someone may be waiting for the last nfsiod to terminate. */
|
||||
if (--nfs_numasync == 0)
|
||||
wakeup(&nfs_numasync);
|
||||
mtx_unlock(&Giant);
|
||||
if ((error == 0) || (error == EWOULDBLOCK))
|
||||
kthread_exit(0);
|
||||
/* Abnormal termination */
|
||||
|
|
|
|||
Loading…
Reference in a new issue