Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma
[linux-2.6-block.git] / drivers / infiniband / ulp / srpt / ib_srpt.c
index 883bbfe08e0efa64d87ab2652b0e773516d54450..0b1f69ed2e92ff41bbf7c809608ca6bcd3984948 100644 (file)
@@ -2480,7 +2480,7 @@ static void srpt_add_one(struct ib_device *device)
        init_waitqueue_head(&sdev->ch_releaseQ);
        mutex_init(&sdev->mutex);
 
-       sdev->pd = ib_alloc_pd(device);
+       sdev->pd = ib_alloc_pd(device, 0);
        if (IS_ERR(sdev->pd))
                goto free_dev;