diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-24 06:02:37 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2005-03-24 06:02:37 +0000 |
| commit | ad09e57f41ee9e309754e3096a22e79ebfcfdfa8 (patch) | |
| tree | e243c2c4cb2baae41ebc91b09eb200506c77c0b4 /sys/kern/vfs_lookup.c | |
| parent | fdd6a3ff3cbfc3b778cd8c5b885448a47357950b (diff) | |
Notes
Diffstat (limited to 'sys/kern/vfs_lookup.c')
| -rw-r--r-- | sys/kern/vfs_lookup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index 52945a9f5776..dcbc15410631 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -117,6 +117,9 @@ namei(ndp) ("namei: nameiop contaminated with flags")); KASSERT((cnp->cn_flags & OPMASK) == 0, ("namei: flags contaminated with nameiops")); +#ifndef LOOKUP_SHARED + cnp->cn_flags &= ~LOCKSHARED; +#endif fdp = p->p_fd; /* |
