summaryrefslogtreecommitdiff
path: root/fatfs/main.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2003-05-10 00:12:29 +0000
committerMarcus Brinkmann <marcus@gnu.org>2003-05-10 00:12:29 +0000
commite1a049e27ae81f2eac0d59fbdd221710ec2d8ab5 (patch)
tree7d4fc7257b6677fc3e5cd3c11b29edd4486e2242 /fatfs/main.c
parent8e833469cbe0f6f2ba26d23f7e11540a75071e9d (diff)
2003-04-26 Marco Gerards <metgerards@student.han.nl>
* 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.
Diffstat (limited to 'fatfs/main.c')
-rw-r--r--fatfs/main.c14
1 files changed, 13 insertions, 1 deletions
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;
+}