From d9c52c7272c8670fecf9159ea9cb17e964086b62 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 26 Feb 2001 04:14:06 +0000 Subject: 2001-02-25 Roland McGrath * node.c (diskfs_S_file_get_storage_info): New function. * tmpfs.c (diskfs_synchronous): New variable. * node.c: #include . --- tmpfs/node.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'tmpfs/node.c') 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 - #include "tmpfs.h" +#include #include +#include 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; +} -- cgit v1.2.3