summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2017-08-07 15:15:18 -0400
committerFrans Kaashoek <[email protected]>2017-08-07 15:15:18 -0400
commit825ce074b10a0e1f63fd3a1fe245220d04054e0a (patch)
treed892b334a74f86dff512f84872a20a3702bc0c64 /fs.c
parent61cb32aa9bc457a6b39c5055cbf7fdd718dab7c2 (diff)
downloadxv6-labs-825ce074b10a0e1f63fd3a1fe245220d04054e0a.tar.gz
xv6-labs-825ce074b10a0e1f63fd3a1fe245220d04054e0a.tar.bz2
xv6-labs-825ce074b10a0e1f63fd3a1fe245220d04054e0a.zip
Remove some debugging statements
Diffstat (limited to 'fs.c')
-rw-r--r--fs.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/fs.c b/fs.c
index 36b07d2..96a0334 100644
--- a/fs.c
+++ b/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){
bp = bread(ip->dev, bmap(ip, 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);
brelse(bp);
}