From 55dd08c4e80827ffc4fe423f3e67aec499af06df Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 3 Feb 2014 21:35:05 +0100 Subject: ntvfs_posix: No wbc_context required Signed-off-by: Volker Lendecke Reviewed-by: Kai Blin --- source4/ntvfs/posix/vfs_posix.c | 7 ------- source4/ntvfs/posix/vfs_posix.h | 1 - 2 files changed, 8 deletions(-) diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 2ca024b618..72d0767c65 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -271,13 +271,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 9a03658040..04d78f2918 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 */ -- cgit