Module Name: src Committed By: hannken Date: Wed Jun 29 19:51:12 UTC 2011
Modified Files: src/sys/uvm: uvm_bio.c Log Message: Remove dead uvm_vnp_zerorange() after bump to 5.99.54. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/uvm/uvm_bio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/uvm/uvm_bio.c diff -u src/sys/uvm/uvm_bio.c:1.77 src/sys/uvm/uvm_bio.c:1.78 --- src/sys/uvm/uvm_bio.c:1.77 Sun Jun 19 02:42:53 2011 +++ src/sys/uvm/uvm_bio.c Wed Jun 29 19:51:12 2011 @@ -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. */