diff options
author | hmp <hmp@FreeBSD.org> | 2003-10-23 03:07:56 +0000 |
---|---|---|
committer | hmp <hmp@FreeBSD.org> | 2003-10-23 03:07:56 +0000 |
commit | 396f7d0d55afc469aaf89e6869494e3701daa918 (patch) | |
tree | ba5c7064d0c0d493c91bed1203ae52b4d87f4816 /share/man/man9/VOP_INACTIVE.9 | |
parent | 9b05395427a806bf09dec64da6d70c6cb662ee32 (diff) | |
download | FreeBSD-src-396f7d0d55afc469aaf89e6869494e3701daa918.zip FreeBSD-src-396f7d0d55afc469aaf89e6869494e3701daa918.tar.gz |
Mdoc Janitor:
* Make use of .Sq mdoc command.
* Add a .Pp for separating VOP_RECLAIM text from VOP_INACTIVE
* Make use of .Fa for the vnode pointer function arg.
Diffstat (limited to 'share/man/man9/VOP_INACTIVE.9')
-rw-r--r-- | share/man/man9/VOP_INACTIVE.9 | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9 index 5440e4d..8a73efa 100644 --- a/share/man/man9/VOP_INACTIVE.9 +++ b/share/man/man9/VOP_INACTIVE.9 @@ -54,18 +54,26 @@ is called when the kernel is no longer using the vnode. This may be because the reference count reaches zero or it may be that the file system is being forcibly unmounted while there are open files. -It can be used to reclaim space for 'open but deleted' files. +It can be used to reclaim space for +.Sq open but deleted +files. +.Pp .Fn VOP_RECLAIM 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 vp will be locked on entry. +For VOP_INACTIVE, the +.Fa vp +will be locked on entry. Your VOP_INACTIVE code -must unlock the vp prior to returning. +must unlock the +.Fa vp +prior to returning. .Pp -For VOP_RECLAIM, the vp will not be locked on entry and should be left -unlocked on return. +For VOP_RECLAIM, the +.Fa vp +will not be locked on entry and should be left unlocked on return. .Sh PSEUDOCODE .Bd -literal int |