Remove some debugging statements
This commit is contained in:
parent
61cb32aa9b
commit
825ce074b1
1 changed files with 0 additions and 7 deletions
7
fs.c
7
fs.c
|
@ -449,13 +449,6 @@ readi(struct inode *ip, char *dst, uint off, uint n)
|
||||||
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
|
for(tot=0; tot<n; tot+=m, off+=m, dst+=m){
|
||||||
bp = bread(ip->dev, bmap(ip, off/BSIZE));
|
bp = bread(ip->dev, bmap(ip, off/BSIZE));
|
||||||
m = min(n - tot, BSIZE - off%BSIZE);
|
m = min(n - tot, BSIZE - off%BSIZE);
|
||||||
/*
|
|
||||||
cprintf("data off %d:\n", off);
|
|
||||||
for (int j = 0; j < min(m, 10); j++) {
|
|
||||||
cprintf("%x ", bp->data[off%BSIZE+j]);
|
|
||||||
}
|
|
||||||
cprintf("\n");
|
|
||||||
*/
|
|
||||||
memmove(dst, bp->data + off%BSIZE, m);
|
memmove(dst, bp->data + off%BSIZE, m);
|
||||||
brelse(bp);
|
brelse(bp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue