diff options
author | 1996-06-14 04:39:13 +0000 | |
---|---|---|
committer | 1996-06-14 04:39:13 +0000 | |
commit | fbc02c00a7def18698f87e87ee1b33be9540e55a (patch) | |
tree | 90bf8c97b80568ff18577511ce06471006b3cfb3 /sys/nfs/nfs_syscalls.c | |
parent | long botches (diff) | |
download | wireguard-openbsd-fbc02c00a7def18698f87e87ee1b33be9540e55a.tar.xz wireguard-openbsd-fbc02c00a7def18698f87e87ee1b33be9540e55a.zip |
Keep dirty list used by in-kernel update(8) in sync with buffers
Diffstat (limited to 'sys/nfs/nfs_syscalls.c')
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 3cc0149c2d5..90530d643c4 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.6 1996/04/21 22:30:33 deraadt Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.7 1996/06/14 04:41:08 tholo Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -942,6 +942,8 @@ nfssvc_iod(p) * up to, but not including nfs_strategy(). */ if (nbp) { + if (nbp->b_flags & B_DELWRI) + TAILQ_REMOVE(&bdirties, nbp, b_synclist); nbp->b_flags &= ~(B_READ|B_DONE|B_ERROR|B_DELWRI); reassignbuf(nbp, nbp->b_vp); nbp->b_vp->v_numoutput++; |