summaryrefslogtreecommitdiff
path: root/libdiskfs/dir-readdir.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-10-11 09:02:53 +0000
committerRoland McGrath <roland@gnu.org>1999-10-11 09:02:53 +0000
commit283560887299b25c1b7ba2dfa8b7ed7ac8425eab (patch)
tree7ba2b1cf5f6b8c576a50b81b7e17532365677540 /libdiskfs/dir-readdir.c
parente0b07c2213c611a8d3a96976f2ca6650c309a8f3 (diff)
1999-10-11 Roland McGrath <roland@baalperazim.frob.com>
* dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param.
Diffstat (limited to 'libdiskfs/dir-readdir.c')
-rw-r--r--libdiskfs/dir-readdir.c8
1 files changed, 4 insertions, 4 deletions
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;
}
-
-