aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/cache.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2019-02-07 05:41:47 +0000
committerJason Gunthorpe <[email protected]>2019-02-08 23:56:45 +0000
commite3593b568a68b0e1a434b80fd6eaebfb655e839d (patch)
treeb2b2e43346a0e34c89f532399db62d265e8ad4b5 /drivers/infiniband/core/cache.c
parentRDMA: Handle PD allocations by IB/core (diff)
downloadkernel-e3593b568a68b0e1a434b80fd6eaebfb655e839d.tar.gz
kernel-e3593b568a68b0e1a434b80fd6eaebfb655e839d.zip
RDMA/device: Check that the rename is nop under the lock
Since another rename could be running in parallel it is safer to check that the name is not changing inside the lock, where we already know the device name will not change. Fixes: d21943dd19b5 ("RDMA/core: Implement IB device rename function") Signed-off-by: Jason Gunthorpe <[email protected]> Reviewed-by: Parav Pandit <[email protected]>
Diffstat (limited to 'drivers/infiniband/core/cache.c')
0 files changed, 0 insertions, 0 deletions