summaryrefslogtreecommitdiff
path: root/fsvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'fsvar.h')
-rw-r--r--fsvar.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/fsvar.h b/fsvar.h
index ec8d204..015bda4 100644
--- a/fsvar.h
+++ b/fsvar.h
@@ -1,11 +1,12 @@
// in-core file system types
struct inode {
- uint dev;
- uint inum;
- int count;
- int busy;
- short type;
+ uint dev; // Device number
+ uint inum; // Inode number
+ int ref; // Reference count
+ int busy; // Is the inode "locked"?
+
+ short type; // copy of disk inode
short major;
short minor;
short nlink;