summaryrefslogtreecommitdiff
path: root/libdiskfs/diskfs.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-11-02 22:49:25 +0000
committerMiles Bader <miles@gnu.org>1995-11-02 22:49:25 +0000
commita219eea121d1a63a3398f060577a979b952c684b (patch)
tree1431b40523ec6a311dbe4ef0ab379f3db55335e0 /libdiskfs/diskfs.h
parent34b8356567bc911d4d2f323d7952b6109db2a06f (diff)
(diskfs_startup_diskfs, diskfs_execboot_fsys_startup): Add FLAGS arg.
Diffstat (limited to 'libdiskfs/diskfs.h')
-rw-r--r--libdiskfs/diskfs.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libdiskfs/diskfs.h b/libdiskfs/diskfs.h
index 82f041ed..3e7e2bb2 100644
--- a/libdiskfs/diskfs.h
+++ b/libdiskfs/diskfs.h
@@ -534,8 +534,9 @@ error_t diskfs_init_diskfs (void);
/* Call this once the filesystem is fully initialized, to advertise the new
filesystem control port to our parent filesystem. If BOOTSTRAP is set,
the diskfs will call fsys_startup on that port as appropriate and return
- the REALNODE returned in that call; otherwise we return MACH_PORT_NULL. */
-mach_port_t diskfs_startup_diskfs (mach_port_t bootstrap);
+ the REALNODE returned in that call; otherwise we return MACH_PORT_NULL.
+ FLAGS specifies how to open REALNODE (from the O_* set). */
+mach_port_t diskfs_startup_diskfs (mach_port_t bootstrap, int flags);
/* Call this after all format-specific initialization is done (except
for setting diskfs_root_node); at this point the pagers should be
@@ -942,8 +943,8 @@ error_t diskfs_remount ();
/* Called by S_fsys_startup for execserver bootstrap. The execserver
is able to function without a real node, hence this fraud. Arguments
are all as for fsys_startup in <hurd/fsys.defs>. */
-error_t diskfs_execboot_fsys_startup (mach_port_t port, mach_port_t ctl,
- mach_port_t *real,
+error_t diskfs_execboot_fsys_startup (mach_port_t port, int flags,
+ mach_port_t ctl, mach_port_t *real,
mach_msg_type_name_t *realpoly);
/* Establish a thread to sync the filesystem every INTERVAL seconds, or