ntvfs_posix: No wbc_context required
authorVolker Lendecke <vl@samba.org>
Mon, 3 Feb 2014 20:35:05 +0000 (21:35 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 5 Mar 2014 15:33:21 +0000 (16:33 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Change-Id: Ibce7b25740cc14b0a60ad856f6b18c33115ea6fa
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/ntvfs/posix/vfs_posix.c
source4/ntvfs/posix/vfs_posix.h

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);
index 9a03658040fbf6336654fae1c42d2634fe5fd86c..04d78f291892305d1b60d0ea15c0650157c7b688 100644 (file)
@@ -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 */