Module Name: src
Committed By: pooka
Date: Fri Jan 8 13:15:46 UTC 2010
Modified Files:
src/distrib/sets/lists/comp: mi
src/share/man/man9: Makefile vnode.9
Log Message:
Undocument checkalias() -- it was removed two years ago.
To generate a diff of this commit:
cvs rdiff -u -r1.1358 -r1.1359 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.302 -r1.303 src/share/man/man9/Makefile
cvs rdiff -u -r1.43 -r1.44 src/share/man/man9/vnode.9
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1358 src/distrib/sets/lists/comp/mi:1.1359
--- src/distrib/sets/lists/comp/mi:1.1358 Fri Jan 8 13:10:48 2010
+++ src/distrib/sets/lists/comp/mi Fri Jan 8 13:15:45 2010
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1358 2010/01/08 13:10:48 pooka Exp $
+# $NetBSD: mi,v 1.1359 2010/01/08 13:15:45 pooka Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -8566,7 +8566,7 @@
./usr/share/man/cat9/cardbus_mapreg_map.0 comp-sys-catman .cat
./usr/share/man/cat9/cardbus_mapreg_unmap.0 comp-sys-catman .cat
./usr/share/man/cat9/cdevvp.0 comp-sys-catman .cat
-./usr/share/man/cat9/checkalias.0 comp-sys-catman .cat
+./usr/share/man/cat9/checkalias.0 comp-sys-catman obsolete
./usr/share/man/cat9/child_return.0 comp-sys-catman .cat
./usr/share/man/cat9/chooselwp.0 comp-obsolete obsolete
./usr/share/man/cat9/chooseproc.0 comp-obsolete obsolete
@@ -14108,7 +14108,7 @@
./usr/share/man/html9/cardbus_mapreg_map.html comp-sys-htmlman html
./usr/share/man/html9/cardbus_mapreg_unmap.html comp-sys-htmlman html
./usr/share/man/html9/cdevvp.html comp-sys-htmlman html
-./usr/share/man/html9/checkalias.html comp-sys-htmlman html
+./usr/share/man/html9/checkalias.html comp-sys-htmlman obsolete
./usr/share/man/html9/child_return.html comp-sys-htmlman html
./usr/share/man/html9/clock_secs_to_ymdhms.html comp-sys-htmlman html
./usr/share/man/html9/clock_ymdhms_to_secs.html comp-sys-htmlman html
@@ -19765,7 +19765,7 @@
./usr/share/man/man9/cardbus_mapreg_map.9 comp-sys-man .man
./usr/share/man/man9/cardbus_mapreg_unmap.9 comp-sys-man .man
./usr/share/man/man9/cdevvp.9 comp-sys-man .man
-./usr/share/man/man9/checkalias.9 comp-sys-man .man
+./usr/share/man/man9/checkalias.9 comp-sys-man obsolete
./usr/share/man/man9/child_return.9 comp-sys-man .man
./usr/share/man/man9/chooselwp.9 comp-obsolete obsolete
./usr/share/man/man9/chooseproc.9 comp-obsolete obsolete
Index: src/share/man/man9/Makefile
diff -u src/share/man/man9/Makefile:1.302 src/share/man/man9/Makefile:1.303
--- src/share/man/man9/Makefile:1.302 Fri Jan 8 13:10:48 2010
+++ src/share/man/man9/Makefile Fri Jan 8 13:15:46 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.302 2010/01/08 13:10:48 pooka Exp $
+# $NetBSD: Makefile,v 1.303 2010/01/08 13:15:46 pooka Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -754,7 +754,6 @@
vnode.9 vgonel.9 \
vnode.9 vflush.9 \
vnode.9 vaccess.9 \
- vnode.9 checkalias.9 \
vnode.9 bdevvp.9 \
vnode.9 cdevvp.9 \
vnode.9 vfinddev.9 \
Index: src/share/man/man9/vnode.9
diff -u src/share/man/man9/vnode.9:1.43 src/share/man/man9/vnode.9:1.44
--- src/share/man/man9/vnode.9:1.43 Fri Jan 8 13:10:48 2010
+++ src/share/man/man9/vnode.9 Fri Jan 8 13:15:46 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: vnode.9,v 1.43 2010/01/08 13:10:48 pooka Exp $
+.\" $NetBSD: vnode.9,v 1.44 2010/01/08 13:15:46 pooka Exp $
.\"
.\" Copyright (c) 2001, 2005, 2006 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -45,7 +45,6 @@
.Nm vgonel ,
.Nm vflush ,
.Nm vaccess ,
-.Nm checkalias ,
.Nm bdevvp ,
.Nm cdevvp ,
.Nm vfinddev ,
@@ -85,8 +84,6 @@
.Fn vflush "struct mount *mp" "struct vnode *skipvp" "int flags"
.Ft int
.Fn vaccess "enum vtype type" "mode_t file_mode" "uid_t uid" "gid_t gid" "mode_t acc_mode" "kauth_cred_t cred"
-.Ft struct vnode *
-.Fn checkalias "struct vnode *vp" "dev_t nvp_rdev" "struct mount *mp"
.Ft int
.Fn bdevvp "dev_t dev" "struct vnode **vpp"
.Ft int
@@ -657,14 +654,6 @@
.Fa acc_mode
and credentials
.Fa cred .
-.It Fn checkalias "vp" "nvp_rdev" "mp"
-Check to see if the new vnode
-.Fa vp
-represents a special device for which another vnode represents the
-same device.
-If such an alias exists, the existing contents and the aliased vnode
-are deallocated.
-The caller is responsible for filling the new vnode with its new contents.
.It Fn bdevvp "dev" "vpp"
Create a vnode for a block device.
.Fn bdevvp