Hi, On Sun, Jul 05, 2009 at 06:53:50PM +0300, Sergiu Ivanov wrote: > On Fri, Jul 03, 2009 at 07:07:59AM +0200, olafbuddenha...@gmx.net wrote: > > On Thu, Jun 11, 2009 at 09:25:10PM +0300, Sergiu Ivanov wrote:
> > > + ulfs_check (); > > > + node_init_root (netfs_root_node); > > > > Why is this needed here and not in the original code?... > > ulfs_check is used to update the list of ports to the underlying > filesystems maintained by unionfs, while node_init_root is used to > store a (similar) list of ports in the root node. > > unionfs invokes both of these functions only in _root_update_thread > and does this with the point of doing a global synchronization, > i.e. making sure the merged directories still exist and dropping dead > items. > > I call these functions explicitly because I want to force the update > of the list of filesystems and the root node. Why? -antrik-