IB/uverbs: Explicitly pass ib_dev to uverbs commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 13 Aug 2015 15:32:04 +0000 (18:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:40 +0000 (18:12 -0400)
commit057aec0d23f750b27f0bb92d2606871f60417e0a
tree665b4e4873a1b9b39d2318c6ae6e9edcf32634be
parent35d4a0b63dc0c6d1177d4f532a9deae958f0662c
IB/uverbs: Explicitly pass ib_dev to uverbs commands

Done in preparation for deploying RCU for the device removal
flow. Allows isolating the RCU handling to the uverb_main layer and
keeping the uverbs_cmd code as is.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Shachar Raindel <raindel@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/uverbs_main.c