diff options
author | rsc <rsc> | 2007-08-20 18:23:52 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-20 18:23:52 +0000 |
commit | bcca6c6bdeacd537a9c84ec9205da06616ecb8bd (patch) | |
tree | d7b36729870ba4f8aa3945596a5109b9e1dbfe61 /defs.h | |
parent | 0655445ba911b59378c57e0c58258c7d6c171880 (diff) | |
download | xv6-labs-bcca6c6bdeacd537a9c84ec9205da06616ecb8bd.tar.gz xv6-labs-bcca6c6bdeacd537a9c84ec9205da06616ecb8bd.tar.bz2 xv6-labs-bcca6c6bdeacd537a9c84ec9205da06616ecb8bd.zip |
shuffle fs.c in bottom-up order
Diffstat (limited to 'defs.h')
-rw-r--r-- | defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -120,7 +120,6 @@ void bwrite(struct buf*, uint); void brelse(struct buf*); // fs.c -extern uint rootdev; void iinit(void); struct inode* iget(uint, uint); void ilock(struct inode*); @@ -138,6 +137,7 @@ struct inode* mknod1(struct inode*, char*, short, short, short); int unlink(char*); void iupdate(struct inode*); int link(char*, char*); +struct inode* igetroot(void); // number of elements in fixed-size array #define NELEM(x) (sizeof(x)/sizeof((x)[0])) |