diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-10-10 21:16:30 +0300 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-10-10 21:16:30 +0300 |
commit | 7ef410a8a63a7e8ff206fe2baeea88a82fac48a3 (patch) | |
tree | 85cf9bc66be0433e434014bc998d7e5540b83ffe | |
parent | e266d6a45c1cd1269872528dbe148f88a01ac081 (diff) |
Added the port to the untranslated version of the real node to the netnode
When 'file,,x' is requested, nsmux cannot tell whether 'x'
is a filter or not and whether it will require the untranslated
version of the file or not. However, when
netfs_S_file_get_translator_cntl would like to show the
translator stack on the *real* node, it will need the
untranslated version of the node, which must be available by
that time. The new field in netnode solves this issue.
-rw-r--r-- | node.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -78,6 +78,9 @@ struct netnode /*a port to the underlying filesystem*/ file_t port; + /*the port to the untranslated version of the node*/ + file_t port_notrans; + /*the malloced set of translators which have to be stacked upon this node and upon its children; the corresponding translators will have to decide on their own whether to accept directories or not*/ |