diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9 index c6302d35daa..4d2681435b2 100644 --- a/share/man/man9/VOP_ATTRIB.9 +++ b/share/man/man9/VOP_ATTRIB.9 @@ -64,7 +64,7 @@ Attributes which are not being modified by should be set to the value .Dv VNOVAL . .Sh LOCKS -The file should not be locked on entry. +The file will not be locked on entry and should not be locked on return. .Sh RETURN VALUES .Xr VOP_GETATTR 9 returns information about the file in diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9 index d4398556bf1..c210b77ea48 100644 --- a/share/man/man9/VOP_RENAME.9 +++ b/share/man/man9/VOP_RENAME.9 @@ -59,11 +59,11 @@ the vnode of the target file (if it exists) pathname information about the file's new name .El .Sh LOCKS -The destination directory and file (if it exists) should be locked on entry. -The source directory and file -will be released on exit. -The destination directory and file (if it exists) will be unlocked -and released on exit. +The source directory and file will have their ref count bumped on entry. +The destination directory and file will be locked and referenced on entry. +The procedure must release (not unlock) the source directory and file, +and must relase and unlock (i.e. vput) the destination directory and file +prior to return. .Sh PSEUDOCODE .Bd -literal int