summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defs.h b/defs.h
index 0ed71bb..35a7139 100644
--- a/defs.h
+++ b/defs.h
@@ -97,4 +97,8 @@ void brelse(struct buf *);
// fs.c
struct inode * iget(uint dev, uint inum);
+void ilock(struct inode *ip);
+void iunlock(struct inode *ip);
+void iincref(struct inode *ip);
void iput(struct inode *ip);
+struct inode * namei(char *path);