diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:39:10 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-09-08 08:39:10 +0000 |
commit | 60aeeb0099a6595f023845f5f7ec8f5a12f73c9e (patch) | |
tree | 2b6f46283ac7eae7b0347f1a73a43a789f639db7 /ext2fs/truncate.c | |
parent | 4ad1c1f75bf97ce7888b99f6850b41f9f5789ec8 (diff) |
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* dir.c (diskfs_lookup_hard): Pass additional parameter to
diskfs_get_filemap.
(diskfs_dirempty): Likewise.
* truncate.c (force_delayed_copies): Likewise.
* pager.c (diskfs_get_filemap): Accept additional parameter.
Diffstat (limited to 'ext2fs/truncate.c')
-rw-r--r-- | ext2fs/truncate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/truncate.c b/ext2fs/truncate.c index 5c8e0829..8113f9bf 100644 --- a/ext2fs/truncate.c +++ b/ext2fs/truncate.c @@ -232,7 +232,7 @@ force_delayed_copies (struct node *node, off_t length) mach_port_t obj; pager_change_attributes (pager, MAY_CACHE, MEMORY_OBJECT_COPY_NONE, 1); - obj = diskfs_get_filemap (node, VM_PROT_READ); + obj = diskfs_get_filemap (node, 0, VM_PROT_READ); if (obj != MACH_PORT_NULL) { /* XXX should cope with errors from diskfs_get_filemap */ |