diff options
Diffstat (limited to 'hurd')
-rw-r--r-- | hurd/fs.defs | 6 | ||||
-rw-r--r-- | hurd/fsys.defs | 16 | ||||
-rw-r--r-- | hurd/fsys_reply.defs | 4 |
3 files changed, 23 insertions, 3 deletions
diff --git a/hurd/fs.defs b/hurd/fs.defs index 11b8a8f5..e4ef2861 100644 --- a/hurd/fs.defs +++ b/hurd/fs.defs @@ -167,7 +167,7 @@ routine file_getlinknode ( filesystem cannot be NFS mounted. */ routine file_getfh ( file: file_t; - out filehandle: data_t); + out filehandle: data_t, dealloc); /* Operations supported on directories */ @@ -198,7 +198,7 @@ routine dir_lookup ( data regardless. */ routine dir_readdir ( dir: file_t; - out data: data_t; + out data: data_t, dealloc; entry: int; nentries: int; bufsiz: vm_size_t; @@ -283,7 +283,7 @@ routine file_set_translator ( /* Return the stored permanent translator for this file. */ routine file_get_translator ( file: file_t; - out translator: data_t); + out translator: data_t, dealloc); /* Return the translator control port to the active translator (if any) for this file. */ diff --git a/hurd/fsys.defs b/hurd/fsys.defs index 9dd7b2fa..2da29501 100644 --- a/hurd/fsys.defs +++ b/hurd/fsys.defs @@ -70,6 +70,22 @@ routine fsys_getfile ( filehandle: data_t; out file: mach_port_send_t); +/* Sync a filesystem. Args are the same as for file_syncfs in fs.defs. */ +routine fsys_syncfs ( + fsys: fsys_t; + RPT + wait: int; + do_children: int); + +/* Change the readonly status of the filesystem. FORCE (when changing + from writeable to readonly) means that existing open ports for writing + should be ignored. */ +routine fsys_mod_readonly ( + fsys: fsys_t; + RPT + readonly: int; + force: int); + /* The following two calls are only implemented by bootstrap filesystems. */ routine fsys_getpriv ( diff --git a/hurd/fsys_reply.defs b/hurd/fsys_reply.defs index 2d0888c6..bb649e60 100644 --- a/hurd/fsys_reply.defs +++ b/hurd/fsys_reply.defs @@ -40,6 +40,10 @@ skip; /* getfile */ skip; /* getpriv */ +skip; /* fsys_syncfs */ + +skip; /* fsys_mod_readonly */ + simpleroutine fsys_init_reply ( reply_port: reply_port_t; retcode: kern_return_t); |