summaryrefslogtreecommitdiff
path: root/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'file.h')
-rw-r--r--file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.h b/file.h
index 73a8e67..497a58a 100644
--- a/file.h
+++ b/file.h
@@ -14,8 +14,8 @@ struct inode {
uint dev; // Device number
uint inum; // Inode number
int ref; // Reference count
- struct sleeplock lock;
- int valid; // remainder has been read from disk?
+ struct sleeplock lock; // protects everything below here
+ int valid; // inode has been read from disk?
short type; // copy of disk inode
short major;