summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_cluster.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2005-02-10 12:17:48 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2005-02-10 12:17:48 +0000
commit502a590bf13ef228f21a82c07133d6ef95dbbf56 (patch)
treecb5f81ee6c6408e21c85fe96904f7220d66a22d1 /sys/kern/vfs_cluster.c
parent2adc2b87c7a9e61c31792aa89e892429c6c13ee4 (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r--sys/kern/vfs_cluster.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c
index 527800c05b20..c3c6e5afea10 100644
--- a/sys/kern/vfs_cluster.c
+++ b/sys/kern/vfs_cluster.c
@@ -65,6 +65,7 @@ static struct cluster_save *
static struct buf *
cluster_rbuild(struct vnode *vp, u_quad_t filesize, daddr_t lbn,
daddr_t blkno, long size, int run, struct buf *fbp);
+static void cluster_callback(struct buf *);
static int write_behind = 1;
SYSCTL_INT(_vfs, OID_AUTO, write_behind, CTLFLAG_RW, &write_behind, 0,
@@ -510,7 +511,7 @@ cluster_rbuild(vp, filesize, lbn, blkno, size, run, fbp)
* extra memory (if there were no empty buffer headers at allocbuf time)
* that we will need to shift around.
*/
-void
+static void
cluster_callback(bp)
struct buf *bp;
{