summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_nfsiod.c
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1997-06-25 21:07:26 +0000
committertegge <tegge@FreeBSD.org>1997-06-25 21:07:26 +0000
commitfdf5be50ae75b6c81fb7bf157660947631ea7515 (patch)
treee3422f92ad3ef131938ff22dc81baa9b310a512a /sys/nfsclient/nfs_nfsiod.c
parent588fb5df8a7838ceca40cf18d3a57293d62e5f4c (diff)
downloadFreeBSD-src-fdf5be50ae75b6c81fb7bf157660947631ea7515.zip
FreeBSD-src-fdf5be50ae75b6c81fb7bf157660947631ea7515.tar.gz
Clear nfs_iodwant[myiod] when the nfsiod process exits due to a signal.
Diffstat (limited to 'sys/nfsclient/nfs_nfsiod.c')
-rw-r--r--sys/nfsclient/nfs_nfsiod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_nfsiod.c b/sys/nfsclient/nfs_nfsiod.c
index 8f2466d..de07c23 100644
--- a/sys/nfsclient/nfs_nfsiod.c
+++ b/sys/nfsclient/nfs_nfsiod.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_syscalls.c 8.5 (Berkeley) 3/30/95
- * $Id: nfs_syscalls.c,v 1.23 1997/05/10 16:59:36 dfr Exp $
+ * $Id: nfs_syscalls.c,v 1.24 1997/05/13 17:25:44 dfr Exp $
*/
#include <sys/param.h>
@@ -795,6 +795,7 @@ nfssvc_iod(p)
if (error) {
nfs_asyncdaemon[myiod] = 0;
if (nmp) nmp->nm_bufqiods--;
+ nfs_iodwant[myiod] = NULL;
nfs_iodmount[myiod] = NULL;
nfs_numasync--;
return (error);
OpenPOWER on IntegriCloud