]> git.baikalelectronics.ru Git - kernel.git/commit
IB/core: rename pd->local_mr to pd->__internal_mr
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Sep 2016 10:56:16 +0000 (12:56 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 23 Sep 2016 17:47:44 +0000 (13:47 -0400)
commit8d62e27ddbe49521f795c5d961b711a1ecdd5c0b
tree95a0a3c0926d3fd944045075573a38f08728142e
parentf5ab9c875cf44bfb7cbda4e07af44b80961e03e5
IB/core: rename pd->local_mr to pd->__internal_mr

This has two reasons: a) to clearly mark that drivers don't have any
business using it, and b) because we're going to use it for the
(dangerous) global rkey soon, so that drivers don't create on themselves.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h