* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
static char sccsid
[] = "@(#)pass3.c 5.2 (Berkeley) %G%";
bzero((char *)&idesc
, sizeof(struct inodesc
));
for (inumber
= ROOTINO
; inumber
<= lastino
; inumber
++) {
if (statemap
[inumber
] == DSTATE
) {
idesc
.id_parent
= inumber
;
orphan
= idesc
.id_parent
;
if (orphan
< ROOTINO
|| orphan
> imax
)
idesc
.id_number
= orphan
;
if ((ckinode(dp
, &idesc
) & FOUND
) == 0)
if (loopcnt
>= sblock
.fs_cstotal
.cs_ndir
)
} while (statemap
[idesc
.id_parent
] == DSTATE
);
if (linkup(orphan
, idesc
.id_parent
) == 1) {
idesc
.id_func
= pass2check
;