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:
Brian Feldman 2002-02-05 15:26:28 +00:00
parent fa3e900453
commit 6dad2ea974
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90243

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