diff options
| author | 2006-06-23 22:20:39 +0000 | |
|---|---|---|
| committer | 2006-06-23 22:20:39 +0000 | |
| commit | becbf39da4d5d96354b52f0696fb290cf6d596cd (patch) | |
| tree | d0eee53233d877c75622581d7e29440ed1d0f2c3 /sys/kern/vfs_lookup.c | |
| parent | set the RSSI Max value in ath(4) and use the new RSSI radiotap header (diff) | |
| download | wireguard-openbsd-becbf39da4d5d96354b52f0696fb290cf6d596cd.tar.xz wireguard-openbsd-becbf39da4d5d96354b52f0696fb290cf6d596cd.zip | |
namei() only returns locked vnodes if LOCKLEAF is set, be more clear
about this
ok pedro
Diffstat (limited to 'sys/kern/vfs_lookup.c')
| -rw-r--r-- | sys/kern/vfs_lookup.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c index 9fa13cc7c93..eb26ef1c7a6 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_lookup.c,v 1.33 2006/06/14 20:01:50 sturm Exp $ */ +/* $OpenBSD: vfs_lookup.c,v 1.34 2006/06/23 22:20:39 sturm Exp $ */ /* $NetBSD: vfs_lookup.c,v 1.17 1996/02/09 19:00:59 christos Exp $ */ /* @@ -59,13 +59,15 @@ #include "systrace.h" /* - * Convert a pathname into a pointer to a locked inode. + * Convert a pathname into a pointer to a vnode. * * The FOLLOW flag is set when symbolic links are to be followed * when they occur at the end of the name translation process. * Symbolic links are always followed for all other pathname * components other than the last. * + * If the LOCKLEAF flag is set, a locked vnode is returned. + * * The segflg defines whether the name is to be copied from user * space or kernel space. * |
