SCCS-vsn: sys/ufs/ffs/ffs_alloc.c 2.22
SCCS-vsn: sys/ufs/lfs/lfs_alloc.c 2.22
-/* ffs_alloc.c 2.21 83/01/14 */
+/* ffs_alloc.c 2.22 83/02/10 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
}
/*
* 3: brute force search
}
/*
* 3: brute force search
- * Note that we start at i == 3, since 0 was checked initially,
- * and 1 and 2 are always checked in the quadratic rehash.
+ * Note that we start at i == 2, since 0 was checked initially,
+ * and 1 is always checked in the quadratic rehash.
- for (i = 3; i < fs->fs_ncg; i++) {
+ for (i = 2; i < fs->fs_ncg; i++) {
result = (*allocator)(ip, cg, 0, size);
if (result)
return (result);
result = (*allocator)(ip, cg, 0, size);
if (result)
return (result);
-/* lfs_alloc.c 2.21 83/01/14 */
+/* lfs_alloc.c 2.22 83/02/10 */
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
}
/*
* 3: brute force search
}
/*
* 3: brute force search
- * Note that we start at i == 3, since 0 was checked initially,
- * and 1 and 2 are always checked in the quadratic rehash.
+ * Note that we start at i == 2, since 0 was checked initially,
+ * and 1 is always checked in the quadratic rehash.
- for (i = 3; i < fs->fs_ncg; i++) {
+ for (i = 2; i < fs->fs_ncg; i++) {
result = (*allocator)(ip, cg, 0, size);
if (result)
return (result);
result = (*allocator)(ip, cg, 0, size);
if (result)
return (result);