summaryrefslogtreecommitdiff
path: root/nsmux.c
diff options
context:
space:
mode:
authorSergiu Ivanov <unlimitedscolobb@gmail.com>2008-09-19 11:30:09 +0300
committerSergiu Ivanov <unlimitedscolobb@gmail.com>2008-09-19 11:30:09 +0300
commit783e451ddefe81ef0c83412569b0a99c415f28d9 (patch)
tree23a256044ceedc93deb4576231473e8b26fc26a8 /nsmux.c
parent06c2f31b8e3d8a5818f2bc28b554a8929a1f722f (diff)
Added the mechanism of maintaining shadow nodes alive.
I refactored the node cache in such a way that it now only maintains references to nodes (the reason is that only directory nodes and shadow nodes are created, therefore the existing node cache is very well suited for this purpose). It must be remarked that the node cache, borrowed from unionfs, has never actually been a *cache*, therefore this small change does not alter things badly. I also removed the command line option --ncache-size.
Diffstat (limited to 'nsmux.c')
-rw-r--r--nsmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsmux.c b/nsmux.c
index 201d7b1ee..0269f09c7 100644
--- a/nsmux.c
+++ b/nsmux.c
@@ -1761,7 +1761,7 @@ main
LOG_MSG("Time mapped.");
/*Initialize the cache with the required number of nodes*/
- ncache_init(ncache_size);
+ ncache_init(/*ncache_size*/);
LOG_MSG("Cache initialized.");
/*Obtain stat information about the underlying node*/