diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-10-10 23:10:31 +0300 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-10-10 23:10:31 +0300 |
commit | 2ca81a7c1717477766d7e3882e13f4b414e2fead (patch) | |
tree | 2f26ecda533ede04c46a087dc0c83e0254b227ff | |
parent | ea0e131a27ca72e15be6af24d283df7406be0b7c (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.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; |