diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-08-26 16:46:03 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-08-26 16:46:03 +0000 |
commit | e26ea7c56790719827a6a4bc0c9f1f1f08860257 (patch) | |
tree | f7783fcd4a1fe169811a3f6b5656ab3cab58dd20 | |
parent | ded88bc550a5e8d19ea1e3f432c3fdbd7a3c93f1 (diff) |
Formerly fs.defs.~84~
-rw-r--r-- | hurd/fs.defs | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/hurd/fs.defs b/hurd/fs.defs index 3ed1ed0a..f4073c20 100644 --- a/hurd/fs.defs +++ b/hurd/fs.defs @@ -264,25 +264,21 @@ routine dir_notice_changes ( FS_LOOKUP_NOTRANS) to stack a new translator on top of the existing one. */ -/* Set a translator for future lookups to a file. Any existing - translator is sent an fsys_goaway message with the flags coming - from oldtrans_flags. Only if the old translator goes away will - this call succeed. If existing is not MACH_PORT_NULL, then there - is already a translator for this file, and it should be used, with - the program specified by NAME to be used only if the EXISTING port - dies. If TRANSLATOR is empty, then EXISTING is registered and the - node becomes untranslated if EXISTING becomes dead. If TRANSLATOR - is empty and EXISTING is null, then nothing happens. - - Some filesystems understand some translators directly and - short-circuit the creation of the translator by the normal process. - To prevent this optimization, set FS_TRANS_FORCE. */ +/* Set a translator for future lookups to a file. + + PASSIVE is the passive translator; + ACTIVE is the active translator. + + The FLAGS are FS_TRANS_*, defined in <hurd/hurd_types.h>. + OLDFLAGS are sent in an fsys_goaway to an existing active translator + if there is one and it is to be killed. */ routine file_set_translator ( file: file_t; - flags: int; + passive_flags: int; + active_flags: int; oldtrans_flags: int; - translator: data_t; - existing: mach_port_send_t); + passive: data_t; + active: mach_port_send_t); /* Return the stored permanent translator for this file. */ routine file_get_translator ( |