]> Devi Nivas Git - cs3210-lab0.git/commitdiff
comments
authorrsc <rsc>
Thu, 7 Sep 2006 15:31:33 +0000 (15:31 +0000)
committerrsc <rsc>
Thu, 7 Sep 2006 15:31:33 +0000 (15:31 +0000)
fsvar.h

diff --git a/fsvar.h b/fsvar.h
index ec8d2046e164b0cbac1f79413f8436d772ab0ebd..015bda4d9b16d703d62bceab2e47e223cbbd7fc2 100644 (file)
--- 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;