artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3086094
)
Fix missing splbio() needed in nfs
author
beck
<beck@openbsd.org>
Wed, 26 Apr 2023 09:53:55 +0000
(09:53 +0000)
committer
beck
<beck@openbsd.org>
Wed, 26 Apr 2023 09:53:55 +0000
(09:53 +0000)
ok claudio@ kettenis@
sys/nfs/nfs_vnops.c
patch
|
blob
|
history
diff --git
a/sys/nfs/nfs_vnops.c
b/sys/nfs/nfs_vnops.c
index
bfd31b6
..
02fa26e
100644
(file)
--- a/
sys/nfs/nfs_vnops.c
+++ b/
sys/nfs/nfs_vnops.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: nfs_vnops.c,v 1.19
1 2023/03/08 04:43:09 guenther Exp $
*/
+/* $OpenBSD: nfs_vnops.c,v 1.19
2 2023/04/26 09:53:55 beck Exp $
*/
/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
@@
-3203,9
+3203,11
@@
nfs_writebp(struct buf *bp, int force)
nfs_clearcommit(bp->b_vp->v_mount);
}
if (retv) {
+ int s = splbio();
buf_flip_dma(bp);
if (force)
bp->b_flags |= B_WRITEINPROG;
+ splx(s);
VOP_STRATEGY(bp->b_vp, bp);
}