cvs commit: src/sys/kern vfs_lookup.c
Jeff Roberson
jeff at FreeBSD.org
Tue Mar 29 02:07:16 PST 2005
jeff 2005-03-29 10:07:15 UTC
FreeBSD src repository
Modified files:
sys/kern vfs_lookup.c
Log:
- Set cn_lkflags to LK_SHARED in the LOOKUP_SHARED case so that we only
acquire shared locks on intermediate directories.
- For the LASTCN, we may have to LK_UPGRADE the parent directory before
we lookup the last component.
- Acquire VFS_ROOT and dp locks based on the cn_lkflag.
Sponsored by: Isilon Systems, Inc.
Revision Changes Path
1.75 +29 -5 src/sys/kern/vfs_lookup.c
More information about the cvs-src
mailing list