Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm Remove dead uvm_vnp_zerorange() after bump to 5.99.54.



details:   https://anonhg.NetBSD.org/src/rev/6e277b9c3e74
branches:  trunk
changeset: 766675:6e277b9c3e74
user:      hannken <hannken%NetBSD.org@localhost>
date:      Wed Jun 29 19:51:12 2011 +0000

description:
Remove dead uvm_vnp_zerorange() after bump to 5.99.54.

diffstat:

 sys/uvm/uvm_bio.c |  16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diffs (37 lines):

diff -r 9c37ba81b6fb -r 6e277b9c3e74 sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Wed Jun 29 14:52:18 2011 +0000
+++ b/sys/uvm/uvm_bio.c Wed Jun 29 19:51:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_bio.c,v 1.77 2011/06/19 02:42:53 rmind Exp $       */
+/*     $NetBSD: uvm_bio.c,v 1.78 2011/06/29 19:51:12 hannken Exp $     */
 
 /*
  * Copyright (c) 1998 Chuck Silvers.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.77 2011/06/19 02:42:53 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.78 2011/06/29 19:51:12 hannken Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_ubc.h"
@@ -774,18 +774,6 @@
 }
 
 /*
- * uvm_vnp_zerorange: set a range of bytes in a file to zero.
- * WILL BE REMOVED AFTER THE NEXT KERNEL VERSION BUMP (5.99.54)!
- */
-void uvm_vnp_zerorange(struct vnode *, off_t, size_t);
-void
-uvm_vnp_zerorange(struct vnode *vp, off_t off, size_t len)
-{
-
-       ubc_zerorange(&vp->v_uobj, off, len, UBC_UNMAP_FLAG(vp));
-}
-
-/*
  * ubc_purge: disassociate ubc_map structures from an empty uvm_object.
  */
 



Home | Main Index | Thread Index | Old Index