diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-05-01 16:29:27 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-05-01 16:29:27 +0000 |
| commit | 809e3a8464b7ba117b48e6bcfd2109e840a56873 (patch) | |
| tree | c69a17b7d92d7915b05b7619ee6b351d9fb788f0 | |
| parent | 91d56ec1d083c3b8af19be6f894e4360ce0f83dc (diff) | |
Notes
| -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 db76f2a2597d..128940ca0790 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) || |
