On Mon, May 24, 2004 at 10:03:09AM +0200, yves.lejeune at kodak.com wrote: > > Is is normal to have the initial double SMB_VFS_CONNECT and > SMB_VFS_DISCONNECT ? > Should I count the number of SMB_VFS_CONNECT, and really disconnect only > when the same > number of SMB_VFS_DISCONNECT is called ? Yes, use a reference count here. Jeremy.