r3106: don't call a tree disconnect in the cifs backend, as during a smbd
authorAndrew Tridgell <tridge@samba.org>
Thu, 21 Oct 2004 06:34:17 +0000 (06:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:02:21 +0000 (13:02 -0500)
server shutdown we don't want a synchronous operation which may block
to be called, thus delaying the shutdown.
(This used to be commit 5882f7305fa850c39088e85eefd311c8ede15597)

source4/ntvfs/cifs/vfs_cifs.c

index 37c0ed64d1b620ee25504b4f6c9268bff83cf617..1a0f1f2f71e062e7935722e3b2e088636865d78a 100644 (file)
@@ -168,8 +168,7 @@ static NTSTATUS cvfs_disconnect(struct ntvfs_module_context *ntvfs,
 {
        struct cvfs_private *private = ntvfs->private_data;
 
-       smb_tree_disconnect(private->tree);
-       talloc_free(private->tree);
+       talloc_free(private);
 
        return NT_STATUS_OK;
 }