]> asedeno.scripts.mit.edu Git - linux.git/commit
RDMA/nldev: Factor out the PID namespace check
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 30 Jan 2019 10:48:54 +0000 (12:48 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 31 Jan 2019 04:11:45 +0000 (21:11 -0700)
commit8be565e65fa9f4b1dee96e19bce3ca34e68cc8cb
tree28ffaed1b203cce0f2f305afebfbf467a44e965e
parentf732e7135b8b256184bcf5ec89bec1aaa8f71943
RDMA/nldev: Factor out the PID namespace check

The PID namespace is going to be used in the .doit callback, so generalize
its implementation.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/nldev.c