From: Volker Lendecke Date: Mon, 3 Feb 2014 20:35:05 +0000 (+0100) Subject: ntvfs_posix: No wbc_context required X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=65c6daf1a54a94c0dfb4409f7d9919ff88e23627;p=obnox%2Fsamba%2Fsamba-obnox.git ntvfs_posix: No wbc_context required Signed-off-by: Volker Lendecke Change-Id: Ibce7b25740cc14b0a60ad856f6b18c33115ea6fa Reviewed-by: Andrew Bartlett Reviewed-by: Andreas Schneider --- diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 519ca98f39d..afa3f23b84d 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -275,13 +275,6 @@ static NTSTATUS pvfs_connect(struct ntvfs_module_context *ntvfs, pvfs->ntvfs->ctx->event_ctx, pvfs->ntvfs->ctx->config); - pvfs->wbc_ctx = wbc_init(pvfs, - pvfs->ntvfs->ctx->msg_ctx, - pvfs->ntvfs->ctx->event_ctx); - if (pvfs->wbc_ctx == NULL) { - return NT_STATUS_INTERNAL_DB_CORRUPTION; - } - /* allocate the search handle -> ptr tree */ pvfs->search.idtree = idr_init(pvfs); NT_STATUS_HAVE_NO_MEMORY(pvfs->search.idtree); diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h index 9a03658040f..04d78f29189 100644 --- a/source4/ntvfs/posix/vfs_posix.h +++ b/source4/ntvfs/posix/vfs_posix.h @@ -47,7 +47,6 @@ struct pvfs_state { struct brl_context *brl_context; struct odb_context *odb_context; struct notify_context *notify_context; - struct wbc_context *wbc_ctx; /* a list of pending async requests. Needed to support ntcancel */