r3336: use a struct ntvfs_async_state to be able to do async chaning of ntvfs modules
authorStefan Metzmacher <metze@samba.org>
Thu, 28 Oct 2004 21:48:53 +0000 (21:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:04:57 +0000 (13:04 -0500)
commit019719595778e0bd0a00781b33407554d1943985
treedd54db0a15f72d5fe4a63a5104d120bcae735fba
parent94c0b939c4735866945aea8b7a0377be4d814125
r3336: use a struct ntvfs_async_state to be able to do async chaning of ntvfs modules

the idea is that a passthru module can use ntvfs_async_state_push() before
calling ntvfs_next_*() and in the _send function it calls
ntvfs_async_state_pop() and then call the upper layer send_fn itself

- ntvfs_nbench is now fully async

- the ntvfs_map_*() functions and the trans(2) mapping functions are not converted yet

metze
(This used to be commit fde64c0dc142b53d128c8ba09af048dc58d8ef3a)
14 files changed:
source4/include/smb.h
source4/ntvfs/cifs/vfs_cifs.c
source4/ntvfs/nbench/vfs_nbench.c
source4/ntvfs/ntvfs.h
source4/ntvfs/ntvfs_base.c
source4/ntvfs/ntvfs_generic.c
source4/ntvfs/ntvfs_util.c
source4/ntvfs/posix/pvfs_lock.c
source4/ntvfs/posix/pvfs_wait.c
source4/smb_server/reply.c
source4/smb_server/request.c
source4/smb_server/search.c
source4/smb_server/smb_server.c
source4/smb_server/smb_server.h