summaryrefslogtreecommitdiff
path: root/node.h
diff options
context:
space:
mode:
authorSergiu Ivanov <unlimitedscolobb@gmail.com>2008-12-12 21:28:52 +0200
committerSergiu Ivanov <unlimitedscolobb@gmail.com>2008-12-12 21:28:52 +0200
commitfd0bc23b08aa9ff76d61f753149b5e4fbf2c5a30 (patch)
tree34f6dea23e5727d2240cf4c2b69d5992c0dd543e /node.h
parenta54273639f6afd659c15326cb997922fcecfe89a (diff)
Ports in shadow nodes are opened by the translator starting routine now.
Before, netfs_S_dir_lookup used to open the ports in shadow, nodes. This could cause conflicts with the flags required by the translator starting up on the node. Now the port is opened only based on the flags requested by the translator being launched.
Diffstat (limited to 'node.h')
-rw-r--r--node.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/node.h b/node.h
index 0ab636680..0f7201083 100644
--- a/node.h
+++ b/node.h
@@ -158,7 +158,8 @@ error_t node_unlink_file (node_t * dir, char *name);
port to the topmost one opened as `flags` require*/
error_t node_set_translators (struct protid *diruser, node_t * np,
char *trans, /*set these on `node` */
- size_t ntrans, int flags, mach_port_t * port);
+ size_t ntrans, int flags, char * filename,
+ mach_port_t * port);
/*---------------------------------------------------------------------------*/
/*Kill the topmost translator for this node*/
/*This function will normally be called from netfs_attempt_lookup,