summaryrefslogtreecommitdiff
path: root/fs.c
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2016-09-02 14:59:00 -0400
committerFrans Kaashoek <[email protected]>2016-09-02 14:59:00 -0400
commitb7fed77b7be4608b2ce6233a594c4fd7935e62c7 (patch)
treed02dd80dd5ec7c162f973e1fd9cf692c968bdc0a /fs.c
parent5f03799f84796f057924584cc64cf7f3b5ccd75f (diff)
downloadxv6-labs-b7fed77b7be4608b2ce6233a594c4fd7935e62c7.tar.gz
xv6-labs-b7fed77b7be4608b2ce6233a594c4fd7935e62c7.tar.bz2
xv6-labs-b7fed77b7be4608b2ce6233a594c4fd7935e62c7.zip
Fix a few lines that runoff is complaining about that they are too long
Diffstat (limited to 'fs.c')
-rw-r--r--fs.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/fs.c b/fs.c
index f800b77..6887dbc 100644
--- a/fs.c
+++ b/fs.c
@@ -22,7 +22,9 @@
#define min(a, b) ((a) < (b) ? (a) : (b))
static void itrunc(struct inode*);
-struct superblock sb; // there should be one per dev, but we run with one dev
+// there should be one superblock per disk device, but we run with
+// only one device
+struct superblock sb;
// Read the super block.
void
@@ -164,8 +166,10 @@ iinit(int dev)
{
initlock(&icache.lock, "icache");
readsb(dev, &sb);
- cprintf("sb: size %d nblocks %d ninodes %d nlog %d logstart %d inodestart %d bmap start %d\n", sb.size,
- sb.nblocks, sb.ninodes, sb.nlog, sb.logstart, sb.inodestart, sb.bmapstart);
+ cprintf("sb: size %d nblocks %d ninodes %d nlog %d logstart %d\
+ inodestart %d bmap start %d\n", sb.size, sb.nblocks,
+ sb.ninodes, sb.nlog, sb.logstart, sb.inodestart,
+ sb.bmapstart);
}
static struct inode* iget(uint dev, uint inum);