Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: d21943d ("RDMA/core: Implement IB device rename function") Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com>
- Loading branch information