summaryrefslogtreecommitdiff
path: root/fatfs
diff options
context:
space:
mode:
Diffstat (limited to 'fatfs')
-rw-r--r--fatfs/inode.c1
-rw-r--r--fatfs/main.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/fatfs/inode.c b/fatfs/inode.c
index e3ca09d5..4229806e 100644
--- a/fatfs/inode.c
+++ b/fatfs/inode.c
@@ -23,6 +23,7 @@
#include <string.h>
#include "fatfs.h"
+#include "libdiskfs/fs_S.h"
/* These flags aren't actually defined by a header file yet, so
temporarily disable them if necessary. */
diff --git a/fatfs/main.c b/fatfs/main.c
index b34f8dae..2bbcdfaa 100644
--- a/fatfs/main.c
+++ b/fatfs/main.c
@@ -29,6 +29,7 @@
#include <version.h>
#include "fatfs.h"
+#include "libdiskfs/fsys_S.h"
struct node *diskfs_root_node;
@@ -270,7 +271,7 @@ diskfs_readonly_changed (int readonly)
/* 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,
+diskfs_S_fsys_getfile (struct diskfs_control *pt,
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,