diff options
author | jeff <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
commit | afab3762a03836a33f6a8bd19afdb3d9559e12ec (patch) | |
tree | d93f4bc84645fcd224218d7e1c19b2f6b18a4c6c /sys/coda | |
parent | 5642885b84d3a8dfdbf202dfbab02e5c4a93576f (diff) | |
download | FreeBSD-src-afab3762a03836a33f6a8bd19afdb3d9559e12ec.zip FreeBSD-src-afab3762a03836a33f6a8bd19afdb3d9559e12ec.tar.gz |
- Change all filesystems and vfs_cache to relock the dvp once the child is
locked in the ISDOTDOT case. Se vfs_lookup.c r1.79 for details.
Sponsored by: Isilon Systems, Inc.
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)) { |