diff options
Diffstat (limited to 'sys/kern/vfs_cluster.c')
-rw-r--r-- | sys/kern/vfs_cluster.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/vfs_cluster.c b/sys/kern/vfs_cluster.c index db76f2a..128940c 100644 --- a/sys/kern/vfs_cluster.c +++ b/sys/kern/vfs_cluster.c @@ -33,7 +33,7 @@ * SUCH DAMAGE. * * @(#)vfs_cluster.c 8.7 (Berkeley) 2/13/94 - * $Id: vfs_cluster.c,v 1.59 1998/03/16 18:39:41 julian Exp $ + * $Id: vfs_cluster.c,v 1.60 1998/03/19 22:48:13 dyson Exp $ */ #include "opt_debug_cluster.h" @@ -648,6 +648,9 @@ cluster_wbuild(vp, size, start_lbn, len) int i, j, s; int totalwritten = 0; int dbsize = btodb(size); + + if (vp->v_maxio == 0) + vp->v_maxio = DFLTPHYS; while (len > 0) { s = splbio(); if (((tbp = gbincore(vp, start_lbn)) == NULL) || |