diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-08-26 12:08:11 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-08-26 12:08:11 +0000 |
commit | eeed523198867ebd135391608cc58cb62ed7f6ce (patch) | |
tree | 3e3ecf49a6702ad0a358b9b9d27eb1500bccb39d /sys/nfs/nfsnode.h | |
parent | ee5b22f6fe46ed87deb590c37599fd03064be129 (diff) |
make sure that an aiod has been removed from the nfs_aiods_idle list
before inserting it back into the list.
crashes debugged with help from deraadt@ who also tested this fix.
Diffstat (limited to 'sys/nfs/nfsnode.h')
-rw-r--r-- | sys/nfs/nfsnode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfs/nfsnode.h b/sys/nfs/nfsnode.h index 6f95d808bb0..890323078f1 100644 --- a/sys/nfs/nfsnode.h +++ b/sys/nfs/nfsnode.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsnode.h,v 1.35 2009/08/20 15:04:24 thib Exp $ */ +/* $OpenBSD: nfsnode.h,v 1.36 2009/08/26 12:08:10 thib Exp $ */ /* $NetBSD: nfsnode.h,v 1.16 1996/02/18 11:54:04 fvdl Exp $ */ /* @@ -143,6 +143,7 @@ struct nfs_aiod { LIST_ENTRY(nfs_aiod) nad_idle; struct nfsmount *nad_mnt; int nad_exiting; + int nad_worked; /* Was removed from idle list. */ }; LIST_HEAD(nfs_aiodhead, nfs_aiod); |