ntvfs_posix: No wbc_context required
[kai/samba-autobuild/.git] / source4 / ntvfs / posix / vfs_posix.c
index 519ca98f39de2227978656e7b30712d96b202d58..afa3f23b84dd6d5802b9d21e126b2c353059ac3d 100644 (file)
@@ -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);