diff options
author | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-09-19 11:30:09 +0300 |
---|---|---|
committer | Sergiu Ivanov <unlimitedscolobb@gmail.com> | 2008-09-19 11:30:09 +0300 |
commit | 783e451ddefe81ef0c83412569b0a99c415f28d9 (patch) | |
tree | 23a256044ceedc93deb4576231473e8b26fc26a8 /nsmux.c | |
parent | 06c2f31b8e3d8a5818f2bc28b554a8929a1f722f (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*/ |