RDMA/ucma: Add .nodename/.mode to tell userspace where to create device node
authorRoland Dreier <roland@purestorage.com>
Mon, 23 May 2011 17:48:43 +0000 (10:48 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 23 May 2011 17:48:43 +0000 (10:48 -0700)
commit04ea2f81973f55db715bfdac7dd258f8a8485a6d
treef8f0bf76fc9e7e409dc26b088e1263603556dcb1
parent257313b2a87795e07a0bdf58d0fffbdba8b31051
RDMA/ucma: Add .nodename/.mode to tell userspace where to create device node

We want udev to create a device node under /dev/infiniband with
permission 0666 for rdma_cm, so add that info to our struct miscdevice.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/core/ucma.c