diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1997-12-02 16:58:00 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1997-12-02 16:58:00 +0000 |
commit | 82232fad242af9b522d3f55e8ebda456f534f59d (patch) | |
tree | f0fa25ba6484559392706b36c9ded7d2e8f71e5e /sys/nfs/nfs_syscalls.c | |
parent | 4c538cb412673a05ec06989196cb98abefa02f27 (diff) |
More splbio()'s added so that reassignbuf can do its thing.
Diffstat (limited to 'sys/nfs/nfs_syscalls.c')
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index af747ff2b4c..57d1929db52 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.11 1997/11/06 05:59:03 csapuntz Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.12 1997/12/02 16:57:58 csapuntz Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -938,7 +938,6 @@ nfssvc_iod(p) nbp->b_flags |= (B_BUSY|B_ASYNC); break; } - splx(s); /* * For the delayed write, do the first part of nfs_bwrite() * up to, but not including nfs_strategy(). @@ -948,6 +947,8 @@ nfssvc_iod(p) reassignbuf(nbp, nbp->b_vp); nbp->b_vp->v_numoutput++; } + splx(s); + (void) nfs_doio(bp, bp->b_wcred, (struct proc *)0); } while ((bp = nbp) != NULL); } |