summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-02-10 12:28:58 +0000
committerphk <phk@FreeBSD.org>2005-02-10 12:28:58 +0000
commit5dd8d305754a018754a81424da7eb8d297b122eb (patch)
tree2b53208819d7c5ad3ab3fcf73a515a5cc7f5009c /sys/kern/vfs_bio.c
parentdc9f809dd574faccecacee96f8fafcefeb7151aa (diff)
downloadFreeBSD-src-5dd8d305754a018754a81424da7eb8d297b122eb.zip
FreeBSD-src-5dd8d305754a018754a81424da7eb8d297b122eb.tar.gz
Make various vnode related functions static
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 5039e87..5a50075 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -104,7 +104,7 @@ static int vfs_bio_clcheck(struct vnode *vp, int size,
daddr_t lblkno, daddr_t blkno);
static int flushbufqueues(int flushdeps);
static void buf_daemon(void);
-void bremfreel(struct buf *bp);
+static void bremfreel(struct buf *bp);
int vmiodirenable = TRUE;
SYSCTL_INT(_vfs, OID_AUTO, vmiodirenable, CTLFLAG_RW, &vmiodirenable, 0,
@@ -674,7 +674,7 @@ bremfreef(struct buf *bp)
* Removes a buffer from the free list, must be called with the
* bqlock held.
*/
-void
+static void
bremfreel(struct buf *bp)
{
int s = splbio();
@@ -2054,7 +2054,7 @@ buf_daemon()
* free up B_INVAL buffers instead of write them, which NFS is
* particularly sensitive to.
*/
-int flushwithdeps = 0;
+static int flushwithdeps = 0;
SYSCTL_INT(_vfs, OID_AUTO, flushwithdeps, CTLFLAG_RW, &flushwithdeps,
0, "Number of buffers flushed with dependecies that require rollbacks");
OpenPOWER on IntegriCloud