From 4d81bcfe2141645c3d33a0088dfaa161f585e27e Mon Sep 17 00:00:00 2001 From: yamt Date: Sun, 10 Sep 2006 06:35:42 +0000 Subject: [PATCH] unexport getnewbuf. --- sys/kern/vfs_bio.c | 5 +++-- sys/sys/buf.h | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 987b4cc491ee..5b280624c255 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_bio.c,v 1.162 2006/09/03 21:39:29 christos Exp $ */ +/* $NetBSD: vfs_bio.c,v 1.163 2006/09/10 06:35:42 yamt Exp $ */ /*- * Copyright (c) 1982, 1986, 1989, 1993 @@ -82,7 +82,7 @@ #include "opt_softdep.h" #include -__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.162 2006/09/03 21:39:29 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_bio.c,v 1.163 2006/09/10 06:35:42 yamt Exp $"); #include #include @@ -126,6 +126,7 @@ static void *bufpool_page_alloc(struct pool *, int); static void bufpool_page_free(struct pool *, void *); static inline struct buf *bio_doread(struct vnode *, daddr_t, int, kauth_cred_t, int); +static struct buf *getnewbuf(int, int, int); static int buf_lotsfree(void); static int buf_canrelease(void); static inline u_long buf_mempoolidx(u_long); diff --git a/sys/sys/buf.h b/sys/sys/buf.h index 60b43cea0f24..265577df1d86 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -1,4 +1,4 @@ -/* $NetBSD: buf.h,v 1.88 2006/05/14 21:38:18 elad Exp $ */ +/* $NetBSD: buf.h,v 1.89 2006/09/10 06:35:42 yamt Exp $ */ /*- * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc. @@ -281,7 +281,6 @@ void bufinit(void); int bwrite(struct buf *); struct buf *getblk(struct vnode *, daddr_t, int, int, int); struct buf *geteblk(int); -struct buf *getnewbuf(int, int, int); struct buf *incore(struct vnode *, daddr_t); void minphys(struct buf *);