diff options
Diffstat (limited to 'file.h')
-rw-r--r-- | file.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |