IB/core: add support to create a unsafe global rkey to ib_create_pd
[cascardo/linux.git] / net / 9p / trans_rdma.c
index 1852e38..553ed4e 100644 (file)
@@ -680,7 +680,7 @@ rdma_create_trans(struct p9_client *client, const char *addr, char *args)
                goto error;
 
        /* Create the Protection Domain */
-       rdma->pd = ib_alloc_pd(rdma->cm_id->device);
+       rdma->pd = ib_alloc_pd(rdma->cm_id->device, 0);
        if (IS_ERR(rdma->pd))
                goto error;