From e1a049e27ae81f2eac0d59fbdd221710ec2d8ab5 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Sat, 10 May 2003 00:12:29 +0000 Subject: 2003-04-26 Marco Gerards * dir.c (diskfs_get_directs): Consider ENTRY when adding "." and ".." for the rootnode. * inode.c (read_node): Use ifind instead of diskfs_cached_lookup and do not use diskfs_nput anymore. * main.c (diskfs_S_fsys_getfile): New function. --- fatfs/main.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'fatfs/main.c') diff --git a/fatfs/main.c b/fatfs/main.c index 800e58b4..b6916a24 100644 --- a/fatfs/main.c +++ b/fatfs/main.c @@ -1,5 +1,5 @@ /* main.c - FAT filesystem. - Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 1999, 2002, 2003 Free Software Foundation, Inc. Written by Thomas Bushnell, n/BSG and Marcus Brinkmann. This file is part of the GNU Hurd. @@ -263,3 +263,15 @@ diskfs_readonly_changed (int readonly) abort (); } +/* FIXME: libdiskfs doesn't lock the parent dir when looking up a node + for fsys_getfile, so we disable NFS. */ +error_t +diskfs_S_fsys_getfile (mach_port_t fsys, + mach_port_t reply, mach_msg_type_name_t reply_type, + uid_t *uids, mach_msg_type_number_t nuids, + gid_t *gids, mach_msg_type_number_t ngids, + char *handle, mach_msg_type_number_t handle_len, + mach_port_t *file, mach_msg_type_name_t *file_type) +{ + return EOPNOTSUPP; +} -- cgit v1.2.3