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 5a4a463..22a6803 100644
--- a/file.h
+++ b/file.h
@@ -14,7 +14,8 @@ struct inode {
uint dev; // Device number
uint inum; // Inode number
int ref; // Reference count
- int flags; // I_BUSY, I_VALID
+ struct sleeplock lock;
+ int flags; // I_VALID
short type; // copy of disk inode
short major;
@@ -23,7 +24,6 @@ struct inode {
uint size;
uint addrs[NDIRECT+1];
};
-#define I_BUSY 0x1
#define I_VALID 0x2
// table mapping major device number to