quiet
This commit is contained in:
parent
2cbb4b1842
commit
72a590d9e5
4
mkfs.c
4
mkfs.c
|
@ -260,11 +260,11 @@ iappend(uint inum, void *xp, int n)
|
||||||
x = xint(din.addrs[fbn]);
|
x = xint(din.addrs[fbn]);
|
||||||
} else {
|
} else {
|
||||||
if(xint(din.addrs[INDIRECT]) == 0) {
|
if(xint(din.addrs[INDIRECT]) == 0) {
|
||||||
printf("allocate indirect block\n");
|
// printf("allocate indirect block\n");
|
||||||
din.addrs[INDIRECT] = xint(freeblock++);
|
din.addrs[INDIRECT] = xint(freeblock++);
|
||||||
usedblocks++;
|
usedblocks++;
|
||||||
}
|
}
|
||||||
printf("read indirect block\n");
|
// printf("read indirect block\n");
|
||||||
rsect(xint(din.addrs[INDIRECT]), (char*) indirect);
|
rsect(xint(din.addrs[INDIRECT]), (char*) indirect);
|
||||||
if(indirect[fbn - NDIRECT] == 0) {
|
if(indirect[fbn - NDIRECT] == 0) {
|
||||||
indirect[fbn - NDIRECT] = xint(freeblock++);
|
indirect[fbn - NDIRECT] = xint(freeblock++);
|
||||||
|
|
Loading…
Reference in a new issue