r26355: Eliminate global_loadparm in more places.
[amitay/samba.git] / source4 / ntvfs / common / brlock.c
index ddf3219a9a0ebc337deb503b91736b4a6e23e282..c87eca8aff3371da5d389c7188c2ca6719ac19da 100644 (file)
@@ -48,12 +48,13 @@ void brl_set_ops(const struct brlock_ops *new_ops)
   need the messaging_ctx to allow for pending lock notifications.
 */
 struct brl_context *brl_init(TALLOC_CTX *mem_ctx, struct server_id server, 
+                            struct loadparm_context *lp_ctx,
                             struct messaging_context *messaging_ctx)
 {
        if (ops == NULL) {
                brl_tdb_init_ops();
        }
-       return ops->brl_init(mem_ctx, server, messaging_ctx);
+       return ops->brl_init(mem_ctx, server, lp_ctx, messaging_ctx);
 }
 
 struct brl_handle *brl_create_handle(TALLOC_CTX *mem_ctx, struct ntvfs_handle *ntvfs, DATA_BLOB *file_key)