summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpluknet <pluknet@FreeBSD.org>2014-08-03 07:59:19 +0000
committerpluknet <pluknet@FreeBSD.org>2014-08-03 07:59:19 +0000
commita58252fd9a47e60a825c6d5001a1c41528c5d0fa (patch)
treed32024e4ca1f0a78d1fbb5da9a478ddd33967147
parentbb5ee87f44d555c2a39c5aaee81db0ee96020655 (diff)
downloadFreeBSD-src-a58252fd9a47e60a825c6d5001a1c41528c5d0fa.zip
FreeBSD-src-a58252fd9a47e60a825c6d5001a1c41528c5d0fa.tar.gz
vn_path_to_global_path: update comment.
-rw-r--r--sys/kern/vfs_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index 33f5cce..96ddbd9 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -1424,7 +1424,7 @@ cache_enter(struct vnode *dvp, struct vnode *vp, struct componentname *cnp)
* This function updates path string to vnode's full global path
* and checks the size of the new path string against the pathlen argument.
*
- * Requires a locked, referenced vnode and GIANT lock held.
+ * Requires a locked, referenced vnode.
* Vnode is re-locked on success or ENODEV, otherwise unlocked.
*
* If sysctl debug.disablefullpath is set, ENODEV is returned,
OpenPOWER on IntegriCloud