Document that VOP_GETATTR(9) does not actually expect to hold an

exclusive lock on entry.

Sponsored by:	DARPA, NAI Labs
This commit is contained in:
green 2002-02-05 15:26:28 +00:00
parent 81cc5956d9
commit 3817bdcf3d

View File

@ -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