diff options
author | dillon <dillon@FreeBSD.org> | 1999-09-24 10:19:43 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-09-24 10:19:43 +0000 |
commit | 386338d04f80eaaa48efaff4c4eb26ee72ab2472 (patch) | |
tree | 3f0fa32bd098eeaa946c9ca9625eb6c0a290ac3b /share/man/man9/VOP_RENAME.9 | |
parent | 609f54c951188af186c30e759ae8b70731e6cbae (diff) | |
download | FreeBSD-src-386338d04f80eaaa48efaff4c4eb26ee72ab2472.zip FreeBSD-src-386338d04f80eaaa48efaff4c4eb26ee72ab2472.tar.gz |
Bring more VOP manual pages up to date in regards to locking
requirements.
Diffstat (limited to 'share/man/man9/VOP_RENAME.9')
-rw-r--r-- | share/man/man9/VOP_RENAME.9 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9 index d439855..c210b77 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 |