summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2000-07-26 00:28:26 +0000
committerMarcus Brinkmann <marcus@gnu.org>2000-07-26 00:28:26 +0000
commitfb56061d26c17b771d27d357a657d90c3dc3fbf9 (patch)
tree1de848603f0df37b6d4e831a8a530f8016213bd8 /ext2fs
parent317f76798849bac85c692c76475a85be0f592dab (diff)
2000-07-26 Marcus Brinkmann <marcus@gnu.org>
* truncate.c (trunc_indirect): Add missing argument to pager_flush_some.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/ChangeLog4
-rw-r--r--ext2fs/truncate.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ext2fs/ChangeLog b/ext2fs/ChangeLog
index 65afa548..86421a89 100644
--- a/ext2fs/ChangeLog
+++ b/ext2fs/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-26 Marcus Brinkmann <marcus@gnu.org>
+
+ * truncate.c (trunc_indirect): Add missing argument to pager_flush_some.
+
2000-07-25 Thomas Bushnell, BSG <tb@mit.edu>
* truncate.c (trunc_indirect): Before freeing an indirect block,
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c
index 5653cbe6..b1793ef0 100644
--- a/ext2fs/truncate.c
+++ b/ext2fs/truncate.c
@@ -139,7 +139,7 @@ trunc_indirect (struct node *node, block_t end,
if (first == 0 && all_freed)
{
- pager_flush_some (diskfs_disk_pager, boffs (*p), block_size);
+ pager_flush_some (diskfs_disk_pager, boffs (*p), block_size, 1);
free_block_run_free_ptr (fbr, p);
}
else if (modified)