summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
change ip->flags&I_VALID to ip->valid
Diffstat (limited to 'file.h')
-rw-r--r--file.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/file.h b/file.h
index 22a6803..73a8e67 100644
--- a/file.h
+++ b/file.h
@@ -15,7 +15,7 @@ struct inode {
uint inum; // Inode number
int ref; // Reference count
struct sleeplock lock;
- int flags; // I_VALID
+ int valid; // remainder has been read from disk?
short type; // copy of disk inode
short major;
@@ -24,7 +24,6 @@ struct inode {
uint size;
uint addrs[NDIRECT+1];
};
-#define I_VALID 0x2
// table mapping major device number to
// device functions