From 283560887299b25c1b7ba2dfa8b7ed7ac8425eab Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 11 Oct 1999 09:02:53 +0000 Subject: 1999-10-11 Roland McGrath * dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param. --- libdiskfs/dir-readdir.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libdiskfs') diff --git a/libdiskfs/dir-readdir.c b/libdiskfs/dir-readdir.c index c66b2dce..d1dc4490 100644 --- a/libdiskfs/dir-readdir.c +++ b/libdiskfs/dir-readdir.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1993, 1994, 1996 Free Software Foundation + Copyright (C) 1993,94,96,99 Free Software Foundation, Inc. This file is part of the GNU Hurd. @@ -8,7 +8,7 @@ it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. -The GNU Hurd is distributed in the hope that it will be useful, +The GNU Hurd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -27,6 +27,7 @@ kern_return_t diskfs_S_dir_readdir (struct protid *cred, char **data, u_int *datacnt, + boolean_t *data_dealloc, int entry, int nentries, vm_size_t bufsiz, @@ -54,8 +55,7 @@ diskfs_S_dir_readdir (struct protid *cred, } err = diskfs_get_directs (np, entry, nentries, data, datacnt, bufsiz, amt); + *data_dealloc = 1; /* XXX */ mutex_unlock (&np->lock); return err; } - - -- cgit v1.2.3