diff options
author | Jeff Roberson <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
---|---|---|
committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-04-13 10:59:09 +0000 |
commit | 4585e3ac5acae3560e30d71102156bf7fd0afe52 (patch) | |
tree | d93f4bc84645fcd224218d7e1c19b2f6b18a4c6c /sys/fs/coda/coda_vnops.c | |
parent | 374df05fd3a21fb47247b5f8cc01c8e485d5d9b7 (diff) | |
download | src-4585e3ac5acae3560e30d71102156bf7fd0afe52.tar.gz src-4585e3ac5acae3560e30d71102156bf7fd0afe52.zip |
- 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.
Notes
Notes:
svn path=/head/; revision=145006
Diffstat (limited to 'sys/fs/coda/coda_vnops.c')
-rw-r--r-- | sys/fs/coda/coda_vnops.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/coda/coda_vnops.c b/sys/fs/coda/coda_vnops.c index c8cf74dda4ae..a6f6e1a6196c 100644 --- a/sys/fs/coda/coda_vnops.c +++ b/sys/fs/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)) { |