diff options
Diffstat (limited to 'sys/coda')
-rw-r--r-- | sys/coda/coda_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c index c8cf74d..a6f6e1a 100644 --- a/sys/coda/coda_vnops.c +++ b/sys/coda/coda_vnops.c @@ -1010,6 +1010,7 @@ coda_lookup(struct vop_lookup_args *ap) return (error); } } + vn_lock(dvp, LK_RETRY|LK_EXCLUSIVE, td); } else { /* The parent is locked, and may be the same as the child */ if (*ap->a_vpp && (*ap->a_vpp != dvp)) { |