summaryrefslogtreecommitdiffstats
path: root/share/man/man9/VOP_INACTIVE.9
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2009-03-30 20:56:37 +0000
committertrasz <trasz@FreeBSD.org>2009-03-30 20:56:37 +0000
commit369dfb5670f24cf9f27d3b0d4949c570bb2907b8 (patch)
tree0bd177c2c20120877ec7daa02b1f1adcbf8657bc /share/man/man9/VOP_INACTIVE.9
parent17f31804478d7c687653b106a7fa0648e81eb417 (diff)
downloadFreeBSD-src-369dfb5670f24cf9f27d3b0d4949c570bb2907b8.zip
FreeBSD-src-369dfb5670f24cf9f27d3b0d4949c570bb2907b8.tar.gz
Remove pseudocode from VOP_* manual pages. It was out of date anyway.
Reviewed by: scottl Approved by: rwatson (mentor)
Diffstat (limited to 'share/man/man9/VOP_INACTIVE.9')
-rw-r--r--share/man/man9/VOP_INACTIVE.932
1 files changed, 0 insertions, 32 deletions
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9
index f74b020..75bd53b 100644
--- a/share/man/man9/VOP_INACTIVE.9
+++ b/share/man/man9/VOP_INACTIVE.9
@@ -74,38 +74,6 @@ prior to returning.
For VOP_RECLAIM, the
.Fa vp
will not be locked on entry and should be left unlocked on return.
-.Sh PSEUDOCODE
-.Bd -literal
-int
-vop_inactive(struct vnode *vp, struct thread *td)
-{
- if (link count of vp == 0) {
- /*
- * Reclaim space in file system for vp.
- */
- ...;
- }
- VOP_UNLOCK(vp, 0, td);
-
- return 0;
-}
-
-int
-vop_reclaim(struct vnode *vp, struct thread *td)
-{
- /*
- * Clean out the name cache.
- */
- cache_purge(vp);
-
- /*
- * Free file system related data.
- */
- ...;
-
- return 0;
-}
-.Ed
.Sh SEE ALSO
.Xr vnode 9
.Sh AUTHORS
OpenPOWER on IntegriCloud