summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1997-08-04 07:30:43 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1997-08-04 07:30:43 +0000
commit3758b280f271de224851a679aed2c078085c7a1b (patch)
tree6e01d5e6f7b97140a088538e2053fd81e8a82027
parentee461acc1a024bd51a3936790b1cb452534bf2db (diff)
Notes
-rw-r--r--sys/ufs/ffs/ffs_alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 3483b560a388..2edfa102b2d9 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ffs_alloc.c 8.18 (Berkeley) 5/26/95
- * $Id: ffs_alloc.c,v 1.32 1997/03/22 06:53:28 bde Exp $
+ * $Id: ffs_alloc.c,v 1.33 1997/03/23 20:08:16 guido Exp $
*/
#include "opt_quota.h"
@@ -1139,7 +1139,7 @@ ffs_clusteralloc(ip, cg, bpref, len)
bit = 1;
}
}
- if (got == cgp->cg_nclusterblks)
+ if (got >= cgp->cg_nclusterblks)
goto fail;
/*
* Allocate the cluster that we have found.