projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new locking scheme
[unix-history]
/
usr
/
src
/
sys
/
miscfs
/
union
/
union_vfsops.c
diff --git
a/usr/src/sys/miscfs/union/union_vfsops.c
b/usr/src/sys/miscfs/union/union_vfsops.c
index
2139392
..
0df9f55
100644
(file)
--- a/
usr/src/sys/miscfs/union/union_vfsops.c
+++ b/
usr/src/sys/miscfs/union/union_vfsops.c
@@
-8,7
+8,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)union_vfsops.c
1.9
(Berkeley) %G%
+ * @(#)union_vfsops.c
2.1
(Berkeley) %G%
*/
/*
*/
/*
@@
-309,6
+309,7
@@
union_root(mp, vpp)
* Return locked reference to root.
*/
VREF(um->um_uppervp);
* Return locked reference to root.
*/
VREF(um->um_uppervp);
+ VOP_LOCK(um->um_uppervp);
if (um->um_lowervp)
VREF(um->um_lowervp);
error = union_allocvp(vpp, mp,
if (um->um_lowervp)
VREF(um->um_lowervp);
error = union_allocvp(vpp, mp,