From 4b95dd55164784f8f05e4f1cde16bfaac1e30468 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Oct 2004 06:34:17 +0000 Subject: r3106: don't call a tree disconnect in the cifs backend, as during a smbd 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c index 37c0ed64d1..1a0f1f2f71 100644 --- a/source4/ntvfs/cifs/vfs_cifs.c +++ b/source4/ntvfs/cifs/vfs_cifs.c @@ -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; } -- cgit