summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-07-30 04:03:59 +0000
committerkib <kib@FreeBSD.org>2014-07-30 04:03:59 +0000
commita1ca36e7752776cc9df2fbdf5f306f489b473fa4 (patch)
treead5cd7f126992b420d7173749f34f71479314d22
parent68a7483c94267a4a1941f00b453c8494554645a6 (diff)
downloadFreeBSD-src-a1ca36e7752776cc9df2fbdf5f306f489b473fa4.zip
FreeBSD-src-a1ca36e7752776cc9df2fbdf5f306f489b473fa4.tar.gz
MFC r269160:
Remove man page for non-existent VOPs. MFC r269240 (by pluknet): Add VOP_GETVOBJECT.9 to obsolete files, un-xref.
-rw-r--r--ObsoleteFiles.inc4
-rw-r--r--share/man/man9/Makefile3
-rw-r--r--share/man/man9/VOP_GETVOBJECT.9113
-rw-r--r--share/man/man9/vnode.91
4 files changed, 4 insertions, 117 deletions
diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc
index b21883b..dc991db 100644
--- a/ObsoleteFiles.inc
+++ b/ObsoleteFiles.inc
@@ -38,6 +38,10 @@
# xargs -n1 | sort | uniq -d;
# done
+# 20140728: Remove an obsolete man page
+OLD_FILES+=usr/share/man/man9/VOP_GETVOBJECT.9.gz
+OLD_FILES+=usr/share/man/man9/VOP_CREATEVOBJECT.9.gz
+OLD_FILES+=usr/share/man/man9/VOP_DESTROYVOBJECT.9.gz
# 20140614: send-pr removal
OLD_FILES+=usr/share/man/man1/send-pr.1.gz
OLD_FILES+=etc/gnats/freefall
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index 2d93863..8cf5a5f 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -355,7 +355,6 @@ MAN= accept_filter.9 \
VOP_GETACL.9 \
VOP_GETEXTATTR.9 \
VOP_GETPAGES.9 \
- VOP_GETVOBJECT.9 \
VOP_INACTIVE.9 \
VOP_IOCTL.9 \
VOP_LINK.9 \
@@ -1517,8 +1516,6 @@ MLINKS+=VOP_CREATE.9 VOP_MKDIR.9 \
VOP_CREATE.9 VOP_MKNOD.9 \
VOP_CREATE.9 VOP_SYMLINK.9
MLINKS+=VOP_GETPAGES.9 VOP_PUTPAGES.9
-MLINKS+=VOP_GETVOBJECT.9 VOP_CREATEVOBJECT.9 \
- VOP_GETVOBJECT.9 VOP_DESTROYVOBJECT.9
MLINKS+=VOP_INACTIVE.9 VOP_RECLAIM.9
MLINKS+=VOP_LOCK.9 vn_lock.9 \
VOP_LOCK.9 VOP_ISLOCKED.9 \
diff --git a/share/man/man9/VOP_GETVOBJECT.9 b/share/man/man9/VOP_GETVOBJECT.9
deleted file mode 100644
index 47741d1..0000000
--- a/share/man/man9/VOP_GETVOBJECT.9
+++ /dev/null
@@ -1,113 +0,0 @@
-.\" -*- nroff -*-
-.\"
-.\" Copyright (c) 2000 Boris Popov
-.\"
-.\" Redistribution and use in source and binary forms, with or without
-.\" modification, are permitted provided that the following conditions
-.\" are met:
-.\" 1. Redistributions of source code must retain the above copyright
-.\" notice, this list of conditions and the following disclaimer.
-.\" 2. Redistributions in binary form must reproduce the above copyright
-.\" notice, this list of conditions and the following disclaimer in the
-.\" documentation and/or other materials provided with the distribution.
-.\"
-.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
-.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-.\"
-.\" $FreeBSD$
-.\"
-.Dd September 10, 2000
-.Dt VOP_CREATEVOBJECT 9
-.Os
-.Sh NAME
-.Nm VOP_CREATEVOBJECT ,
-.Nm VOP_DESTROYVOBJECT ,
-.Nm VOP_GETVOBJECT
-.Nd VM object interaction
-.Sh SYNOPSIS
-.In sys/param.h
-.In sys/vnode.h
-.Ft int
-.Fn VOP_CREATEVOBJECT "struct vnode *vp" "struct ucred *cred" "struct thread *td"
-.Ft int
-.Fn VOP_DESTROYVOBJECT "struct vnode *vp"
-.Ft int
-.Fn VOP_GETVOBJECT "struct vnode *vp" "struct vm_object **objpp"
-.Sh DESCRIPTION
-These calls are used to control the association of a VM object
-with a particular vnode.
-.Pp
-The arguments specific to these functions are:
-.Bl -tag -width objpp
-.It Fa vp
-The vnode of the file.
-.It Fa objpp
-The VM object being returned, or
-.Dv NULL
-if the caller wants to test for the existence
-of the VM object.
-.El
-.Pp
-.Xr VFS 9
-invokes
-.Fn VOP_CREATEVOBJECT
-when it needs to create a VM object for the given
-.Xr vnode 9 .
-File system code may pass this call down to the underlying file system.
-This VOP can be called multiple times,
-and file system code should ignore any additional calls,
-exiting with a zero return code.
-.Pp
-.Fn VOP_DESTROYVOBJECT
-is called when a
-.Xr vnode 9
-is recycled.
-.Pp
-.Fn VOP_GETVOBJECT
-should be used by all kernel code to get a VM object.
-.\" XXX What is the next sentence trying to tell people?
-The returned VM object may belong to a different file system in the case
-of stacked mounts.
-.Pp
-.Xr VFS 9
-has three functions which perform standard operations by creating
-and destroying VM objects.
-These functions are:
-.Fn vop_stdcreatevobject ,
-.Fn vop_stddestroyvobject
-and
-.Fn vop_stdgetvobject .
-.Pp
-.Em Note :
-a
-.Xr vnode 9
-should be locked on entry and must be left locked on exit.
-.Sh RETURN VALUES
-The
-.Fn VOP_CREATEVOBJECT ,
-.Fn VOP_DESTROYVOBJECT
-and
-.Fn VOP_GETVOBJECT
-functions return zero on success, or a non-zero value on failure.
-Zero is returned on success, otherwise an error is returned.
-.Sh EXAMPLES
-.\" XXX Why is this code here when it does not use the functions
-.\" described in this manual page?
-By default, file systems leave VM object handling to the
-.Fn vop_std*
-functions.
-.Sh SEE ALSO
-.Xr vnode 9 ,
-.Xr VOP_GETPAGES 9 ,
-.Xr VOP_PUTPAGES 9
-.Sh AUTHORS
-This manual page was written by
-.An Boris Popov .
diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9
index cc80bde..074d8ec 100644
--- a/share/man/man9/vnode.9
+++ b/share/man/man9/vnode.9
@@ -170,7 +170,6 @@ intertwining of VM Objects and Vnodes.
.Xr VOP_GETACL 9 ,
.Xr VOP_GETEXTATTR 9 ,
.Xr VOP_GETPAGES 9 ,
-.Xr VOP_GETVOBJECT 9 ,
.Xr VOP_INACTIVE 9 ,
.Xr VOP_IOCTL 9 ,
.Xr VOP_LINK 9 ,
OpenPOWER on IntegriCloud