From 1e677a0519ec3e42e9e9259e89cedc7962f535d8 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Thu, 27 Apr 1995 02:50:56 +0000 Subject: Formerly inode.c.~18~ --- ext2fs/inode.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ext2fs') diff --git a/ext2fs/inode.c b/ext2fs/inode.c index 3103c410..b018453c 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -73,8 +73,9 @@ iget (ino_t inum, struct node **npp) dn->dirents = 0; rwlock_init (&dn->alloc_lock); - pokel_init (&dn->pokel, disk_pager->p, disk_image); + pokel_init (&dn->indir_pokel, disk_pager->p, disk_image); dn->fileinfo = 0; + dn->last_page_partially_writable = 0; np = diskfs_make_node (dn); mutex_lock (&np->lock); @@ -378,7 +379,7 @@ void diskfs_write_disknode (struct node *np, int wait) { write_node (np); - pokel_sync (&np->dn->pokel, wait); + pokel_sync (&np->dn->indir_pokel, wait); } /* Implement the diskfs_set_statfs callback from the diskfs library; -- cgit v1.2.3