diff options
author | Mark Zhang <markz@mellanox.com> | 2019-07-02 13:02:33 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-05 10:22:54 -0300 |
commit | 6a6c306a09b5227d51fcc1643c888e316935dfa8 (patch) | |
tree | 282245b95175673026c15c6922cfe25c70c2b320 /drivers/infiniband/core/counters.c | |
parent | RDMA/restrack: Add an API to attach a task to a resource (diff) | |
download | linux-dev-6a6c306a09b5227d51fcc1643c888e316935dfa8.tar.xz linux-dev-6a6c306a09b5227d51fcc1643c888e316935dfa8.zip |
RDMA/restrack: Make is_visible_in_pid_ns() as an API
Remove is_visible_in_pid_ns() from nldev.c and make it as a restrack API,
so that it can be taken advantage by other parts like counter.
Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/counters.c')
0 files changed, 0 insertions, 0 deletions