From 2ca81a7c1717477766d7e3882e13f4b414e2fead Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Fri, 10 Oct 2008 23:10:31 +0300 Subject: 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. --- nsmux.c | 7 +++++-- 1 file 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; -- cgit v1.2.3