diff options
author | rtm <rtm> | 2008-10-08 18:57:13 +0000 |
---|---|---|
committer | rtm <rtm> | 2008-10-08 18:57:13 +0000 |
commit | 2ce40d7088932b2875739379f54f7d74fc2e374c (patch) | |
tree | f288bbaf64ab6b081a40dbf5885effa89f530038 /fs.c | |
parent | be38c8413e1841dc8171555e8da66f3ca8a2e2bb (diff) | |
download | xv6-labs-2ce40d7088932b2875739379f54f7d74fc2e374c.tar.gz xv6-labs-2ce40d7088932b2875739379f54f7d74fc2e374c.tar.bz2 xv6-labs-2ce40d7088932b2875739379f54f7d74fc2e374c.zip |
be clear what the root i-number is
Diffstat (limited to 'fs.c')
-rw-r--r-- | fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ _namei(char *path, int parent, char *name) struct inode *ip, *next; if(*path == '/') - ip = iget(ROOTDEV, 1); + ip = iget(ROOTDEV, ROOTINO); else ip = idup(cp->cwd); |