diff options
author | Miles Bader <miles@gnu.org> | 1995-04-27 02:50:56 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-27 02:50:56 +0000 |
commit | 1e677a0519ec3e42e9e9259e89cedc7962f535d8 (patch) | |
tree | 39c89b386dbfd9cd1630c10a07ac4d176b4402a9 | |
parent | 2a593475dc8ff7e03cc1fc1f09f04cc8c600ad1d (diff) |
Formerly inode.c.~18~
-rw-r--r-- | ext2fs/inode.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |