diff options
author | tegge <tegge@FreeBSD.org> | 1997-06-25 21:07:26 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1997-06-25 21:07:26 +0000 |
commit | fdf5be50ae75b6c81fb7bf157660947631ea7515 (patch) | |
tree | e3422f92ad3ef131938ff22dc81baa9b310a512a | |
parent | 588fb5df8a7838ceca40cf18d3a57293d62e5f4c (diff) | |
download | FreeBSD-src-fdf5be50ae75b6c81fb7bf157660947631ea7515.zip FreeBSD-src-fdf5be50ae75b6c81fb7bf157660947631ea7515.tar.gz |
Clear nfs_iodwant[myiod] when the nfsiod process exits due to a signal.
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 3 | ||||
-rw-r--r-- | sys/nfsclient/nfs_nfsiod.c | 3 | ||||
-rw-r--r-- | sys/nfsserver/nfs_syscalls.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 8f2466d..de07c23 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.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); 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); diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c index 8f2466d..de07c23 100644 --- a/sys/nfsserver/nfs_syscalls.c +++ b/sys/nfsserver/nfs_syscalls.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); |