From 3817bdcf3d03bad896bea309c2ed357f887a9e86 Mon Sep 17 00:00:00 2001 From: green Date: Tue, 5 Feb 2002 15:26:28 +0000 Subject: [PATCH] Document that VOP_GETATTR(9) does not actually expect to hold an exclusive lock on entry. Sponsored by: DARPA, NAI Labs --- share/man/man9/VOP_ATTRIB.9 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9 index 5a7c33455c71..794eee33dfa2 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