IB/uverbs: Add devnode method to set path/mode
authorRoland Dreier <roland@purestorage.com>
Mon, 23 May 2011 18:10:05 +0000 (11:10 -0700)
committerRoland Dreier <roland@purestorage.com>
Mon, 23 May 2011 18:10:05 +0000 (11:10 -0700)
commit71c29bd5c23559c9cabcca3bfb3152ecc5efcd75
treed4c1e56584e664b0bad103370955a6883f247cf3
parent257313b2a87795e07a0bdf58d0fffbdba8b31051
IB/uverbs: Add devnode method to set path/mode

We want udev to create a device node under /dev/infiniband with
permission 0666 for uverbsX devices, so add a devnode method to set the
appropriate info.

Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/core/uverbs_main.c