]> Devi Nivas Git - cs3210-lab1.git/commitdiff
Remove some debugging statements
authorFrans Kaashoek <kaashoek@mit.edu>
Mon, 7 Aug 2017 19:15:18 +0000 (15:15 -0400)
committerFrans Kaashoek <kaashoek@mit.edu>
Mon, 7 Aug 2017 19:15:18 +0000 (15:15 -0400)
fs.c

diff --git a/fs.c b/fs.c
index 36b07d2898db18cfa2fe8602eba5a6fd9a38e07d..96a0334a086de16eee19a90a2f69003d8597ef08 100644 (file)
--- 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);
   }