From bd1306f7f3c4441bbb057b031f251e2f31317d79 Mon Sep 17 00:00:00 2001 From: Thomas Bushnell Date: Wed, 8 Sep 1999 08:42:56 +0000 Subject: 1999-09-07 Thomas Bushnell, BSG * 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. --- libdiskfs/rdwr-internal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/rdwr-internal.c') 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; -- cgit v1.2.3