summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/inode.c4
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);
}