mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
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:
parent
fa3e900453
commit
6dad2ea974
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=90243
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue