summaryrefslogtreecommitdiff
path: root/libdiskfs/rdwr-internal.c
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-08 08:42:56 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-08 08:42:56 +0000
commitbd1306f7f3c4441bbb057b031f251e2f31317d79 (patch)
treeb589e9ba67b8bf6cace1ead0de4295e3faaecf0d /libdiskfs/rdwr-internal.c
parent6c70c6d345509bf6690b4443ba36974d2c6a147b (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* io-map-segment.c: New file. Guts from io-map.c. * io-map.c (diskfs_S_io_map): Just call diskfs_S_io_map_segment. * diskfs.h (diskfs_get_filemap): New parameter `index'. * rdwr-internal.c (_diskfs_rdwr_internal): Pass additional parameter to diskfs_get_filemap. * Makefile (IOSRCS): Add io-map-segment.c.
Diffstat (limited to 'libdiskfs/rdwr-internal.c')
-rw-r--r--libdiskfs/rdwr-internal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/rdwr-internal.c b/libdiskfs/rdwr-internal.c
index 046467a3..4c765aaa 100644
--- a/libdiskfs/rdwr-internal.c
+++ b/libdiskfs/rdwr-internal.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation
+ Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -49,7 +49,7 @@ _diskfs_rdwr_internal (struct node *np,
np->dn_set_atime = 1;
}
- memobj = diskfs_get_filemap (np, prot);
+ memobj = diskfs_get_filemap (np, 0, prot);
if (memobj == MACH_PORT_NULL)
return errno;