summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_LINK.9
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-09-24 17:11:02 +0000
committerdillon <dillon@FreeBSD.org>1999-09-24 17:11:02 +0000
commit5fa67996713a534f4e3dfdd3ad651a243e040786 (patch)
tree2099feb9b032337f51df60435815fae5e1c87414 /share/man/man9/VOP_LINK.9
parentdf3104f6f2e8f1484019cbd3d7a64676358fe59d (diff)
downloadFreeBSD-src-5fa67996713a534f4e3dfdd3ad651a243e040786.zip
FreeBSD-src-5fa67996713a534f4e3dfdd3ad651a243e040786.tar.gz
More locking clarifications. Add skeleton manual page for VOP_LEASE
Diffstat (limited to 'share/man/man9/VOP_LINK.9')
-rw-r--r--share/man/man9/VOP_LINK.912
1 files changed, 7 insertions, 5 deletions
diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9
index 0d046dcf..463dc80 100644
--- a/share/man/man9/VOP_LINK.9
+++ b/share/man/man9/VOP_LINK.9
@@ -60,9 +60,10 @@ The directory,
is locked on entry and should remain locked on return.
The file
.Fa vp
-is not locked on entry and should be left unlocked on return.
-If the VOP routine locks the file, it must remember to unlock it
-prior to returning.
+is not locked on entry and should remain that way on return.
+If your VOP code locks
+.Fa vp ,
+it must be sure to unlock prior to returning.
.Sh RETURN VALUES
Zero is returned if the file was linked successfully, otherwise an
error is returned.
@@ -126,7 +127,8 @@ out2:
the file is immutable
.El
.Sh SEE ALSO
-.Xr vnode 9
+.Xr vnode 9 ,
+.Xr vn_lock 9
.Sh AUTHORS
-This man page was written by
+This man page was originally written by
.An Doug Rabson .
OpenPOWER on IntegriCloud