diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-21 06:34:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:02:21 -0500 |
commit | 4b95dd55164784f8f05e4f1cde16bfaac1e30468 (patch) | |
tree | bb8cbc4624f86debdf811e99a6bf557304214e3b /source4/ntvfs/cifs | |
parent | d3c5d8ccfdce33da93c836b7f315358c10b9b7f7 (diff) | |
download | samba-4b95dd55164784f8f05e4f1cde16bfaac1e30468.tar.gz samba-4b95dd55164784f8f05e4f1cde16bfaac1e30468.tar.bz2 samba-4b95dd55164784f8f05e4f1cde16bfaac1e30468.zip |
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)
Diffstat (limited to 'source4/ntvfs/cifs')
-rw-r--r-- | source4/ntvfs/cifs/vfs_cifs.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; } |