summaryrefslogtreecommitdiff
path: root/ufs
diff options
context:
space:
mode:
Diffstat (limited to 'ufs')
-rw-r--r--ufs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index d5c17e99..e5e74736 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -17,7 +17,6 @@
#include "ufs.h"
#include "dinode.h"
-#include "fs.h"
#include <string.h>
#include <unistd.h>
#include <stdio.h>
@@ -73,6 +72,7 @@ iget (ino_t inum, struct node **npp)
dn->dirents = 0;
rwlock_init (&dn->allocptrlock);
+ dn->dirty = 0;
dn->fileinfo = 0;
np = diskfs_make_node (dn);