summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/cifs/vfs_cifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/cifs/vfs_cifs.c b/source4/ntvfs/cifs/vfs_cifs.c
index ba2d6e7d24..10fd56cb44 100644
--- a/source4/ntvfs/cifs/vfs_cifs.c
+++ b/source4/ntvfs/cifs/vfs_cifs.c
@@ -199,7 +199,7 @@ static void async_simple(struct cli_request *c_req)
#define ASYNC_RECV_TAIL(io, async_fn) do { \
if (!c_req) return NT_STATUS_UNSUCCESSFUL; \
{ \
- struct async_info *async = c_req->async.private; \
+ struct async_info *async; \
async = talloc(req->mem_ctx, sizeof(*async)); \
if (!async) return NT_STATUS_NO_MEMORY; \
async->parms = io; \