summaryrefslogtreecommitdiff
path: root/tmpfs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-02-26 04:14:06 +0000
committerRoland McGrath <roland@gnu.org>2001-02-26 04:14:06 +0000
commitd9c52c7272c8670fecf9159ea9cb17e964086b62 (patch)
tree7065650a29aeb9f24bd67e895da861061afc1344 /tmpfs
parent193235a8ac2e8437c6b0a1cd8a7726d085e64cb3 (diff)
2001-02-25 Roland McGrath <roland@frob.com>
* node.c (diskfs_S_file_get_storage_info): New function. * tmpfs.c (diskfs_synchronous): New variable. * node.c: #include <mach/default_pager.h>.
Diffstat (limited to 'tmpfs')
-rw-r--r--tmpfs/node.c19
1 files changed, 16 insertions, 3 deletions
diff --git a/tmpfs/node.c b/tmpfs/node.c
index ad9b1cdb..59a9bc37 100644
--- a/tmpfs/node.c
+++ b/tmpfs/node.c
@@ -1,5 +1,5 @@
/* Node state and file contents for tmpfs.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU Hurd.
@@ -17,10 +17,10 @@ You should have received a copy of the GNU General Public License
along with the GNU Hurd; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#include <stddef.h>
-
#include "tmpfs.h"
+#include <stddef.h>
#include <stdlib.h>
+#include <mach/default_pager.h>
unsigned int num_files;
static unsigned int gen;
@@ -494,3 +494,16 @@ diskfs_max_user_pager_prot ()
{
return VM_PROT_READ; /* Probable lie that lets us go read-only. */
}
+
+error_t
+diskfs_S_file_get_storage_info (struct protid *cred,
+ mach_port_t **ports,
+ mach_msg_type_name_t *ports_type,
+ mach_msg_type_number_t *num_ports,
+ int **ints, mach_msg_type_number_t *num_ints,
+ off_t **offsets,
+ mach_msg_type_number_t *num_offsets,
+ char **data, mach_msg_type_number_t *data_len)
+{
+ return EOPNOTSUPP;
+}