summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2002-02-05 15:26:28 +0000
committergreen <green@FreeBSD.org>2002-02-05 15:26:28 +0000
commit3817bdcf3d03bad896bea309c2ed357f887a9e86 (patch)
tree1683a4ba9d7f32ad139f4dc948f0bca8ac729eaf /share
parent81cc5956d9cc33420e09df4469d3e1100034a003 (diff)
downloadFreeBSD-src-3817bdcf3d03bad896bea309c2ed357f887a9e86.zip
FreeBSD-src-3817bdcf3d03bad896bea309c2ed357f887a9e86.tar.gz
Document that VOP_GETATTR(9) does not actually expect to hold an
exclusive lock on entry. Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/VOP_ATTRIB.96
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9
index 5a7c334..794eee3 100644
--- a/share/man/man9/VOP_ATTRIB.9
+++ b/share/man/man9/VOP_ATTRIB.9
@@ -64,9 +64,9 @@ Attributes which are not being modified by
should be set to the value
.Dv VNOVAL .
.Sh LOCKS
-.Xr VOP_GETATTR 9
-expects the vnode to be locked on entry and will leave the vnode locked on
-return.
+The vnode may be either unlocked or exclusively locked on entry to
+.Xr VOP_GETATTR 9 ,
+and will remain the same on return.
.Pp
.Xr VOP_SETATTR 9
expects the vnode to be locked on entry and will leave the vnode locked on
OpenPOWER on IntegriCloud