r76: Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.
commitc4255df992d6ec6bb892bf0d39a32a00d4d570ae
authorAlexander Bokovoy <ab@samba.org>
Tue, 6 Apr 2004 11:45:02 +0000 (6 11:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:07 +0000 (10 10:51 -0500)
tree4eca87d04c33b9c2e1fc0c11b5d234fb90feea58
parentd4f815731d58db302856abcdac9835a8c2fe2168
r76: Fix smbfs problem with Tree Disconnect issued before smbfs starts its work.
We use cli_state.smb_rw_error to pass this specific case into cli_close_connection()
from smbmount as smb_rw_error can have only selected number of states and
it is ignored in cli_close_connection().

Compiled and tested by Lars Mueller from SuSE on x86, x86_64, ppc, ppc64, s390 and
s390x.
(This used to be commit 738666ce0a310fae14476020fd6dac027b0e3ec5)
source3/client/smbmount.c
source3/include/smb.h
source3/libsmb/clientgen.c