diff options
author | jhb <jhb@FreeBSD.org> | 2005-02-07 18:21:50 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-02-07 18:21:50 +0000 |
commit | 685dd13b54edac88c20ac81591b99b1af9111e06 (patch) | |
tree | 4de219942a269303751923d07b97b8657e881119 /sys/nfsclient | |
parent | dbd1fe81388fce650208148a08d68217bd661021 (diff) | |
download | FreeBSD-src-685dd13b54edac88c20ac81591b99b1af9111e06.zip FreeBSD-src-685dd13b54edac88c20ac81591b99b1af9111e06.tar.gz |
Drop Giant before calling kthread_exit().
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_nfsiod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c index b25d99c..8740fb8 100644 --- a/sys/nfsclient/nfs_nfsiod.c +++ b/sys/nfsclient/nfs_nfsiod.c @@ -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 */ |