diff options
author | Miles Bader <miles@gnu.org> | 1996-01-15 22:31:33 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-01-15 22:31:33 +0000 |
commit | cd24cb884f5ae0787e9f9094e7d5a5447c369271 (patch) | |
tree | 27d1b1883e948302ea28e28b8666e756d9fbc10d | |
parent | b7c578fbeff3415ed20d9938b397bea0eb0c10ff (diff) |
(diskfs_node_norefs): When losing our in-core copy of an inode, remember
which indirect blocks still have to be written.
-rw-r--r-- | ext2fs/inode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c index 5ae1375b..2afe44cd 100644 --- a/ext2fs/inode.c +++ b/ext2fs/inode.c @@ -137,6 +137,10 @@ diskfs_node_norefs (struct node *np) free (np->dn->dirents); assert (!np->dn->pager); + /* Move any pending writes of indirect blocks. */ + pokel_inherit (&global_pokel, &np->dn->indir_pokel); + pokel_finalize (&np->dn->indir_pokel); + free (np->dn); free (np); } |