diff options
author | kib <kib@FreeBSD.org> | 2014-07-30 04:00:23 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-07-30 04:00:23 +0000 |
commit | 68a7483c94267a4a1941f00b453c8494554645a6 (patch) | |
tree | 727331ad76c5e8e737ef5ab129a384481f51cf5e /share | |
parent | f3b6e2c4bdbd981010203987fd0ecde292fe90d4 (diff) | |
download | FreeBSD-src-68a7483c94267a4a1941f00b453c8494554645a6.zip FreeBSD-src-68a7483c94267a4a1941f00b453c8494554645a6.tar.gz |
MFC r269159:
Correct the locking statement.
MFC r269161:
Explicitely mention that inactivated or reclaimed vnode is locked
exclusively.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/VOP_INACTIVE.9 | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9 index 2f1e4ed..6c71d03 100644 --- a/share/man/man9/VOP_INACTIVE.9 +++ b/share/man/man9/VOP_INACTIVE.9 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 24, 1996 +.Dd July 27, 2014 .Dt VOP_INACTIVE 9 .Os .Sh NAME @@ -63,17 +63,14 @@ is called when a vnode is being reused for a different file system. Any file system specific resources associated with the vnode should be freed. .Sh LOCKS -For VOP_INACTIVE, the -.Fa vp -will be locked on entry. -Your VOP_INACTIVE code -must unlock the -.Fa vp -prior to returning. -.Pp -For VOP_RECLAIM, the +For both +.Fn VOP_INACTIVE +and +.Fn VOP_RECLAIM , +the .Fa vp -will not be locked on entry and should be left unlocked on return. +will be exclusively locked on entry, and must be left exclusively +locked on return. .Sh SEE ALSO .Xr vnode 9 .Sh AUTHORS |