summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergiu Ivanov <unlimitedscolobb@gmail.com>2008-10-10 23:10:31 +0300
committerSergiu Ivanov <unlimitedscolobb@gmail.com>2008-10-10 23:10:31 +0300
commit2ca81a7c1717477766d7e3882e13f4b414e2fead (patch)
tree2f26ecda533ede04c46a087dc0c83e0254b227ff
parentea0e131a27ca72e15be6af24d283df7406be0b7c (diff)
Made netfs_S_file_get_translator_cntl use the untranslated version of the real node
Now netfs_S_file_get_translator_cntl calls the file_get_translator_cntl routine on the untranslated version of the real node, which makes it possible for the filter to trace the real translator stack.
-rw-r--r--nsmux.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/nsmux.c b/nsmux.c
index 6b7a439c3..e5247b39a 100644
--- a/nsmux.c
+++ b/nsmux.c
@@ -1752,8 +1752,11 @@ netfs_S_file_get_translator_cntl
/*the control port to the translator sitting on the real node*/
mach_port_t p;
- /*obtain the control port for the translator sitting on the real node*/
- err = file_get_translator_cntl(np->nn->port, &p);
+ /*obtain the control port for the translator sitting on the real node;
+ provide the bottommost translator, so that the filter (and this is
+ most probably a request of such a translator) should be able to trace
+ the real translator stack*/
+ err = file_get_translator_cntl(np->nn->port_notrans, &p);
if(err)
return err;