diff options
author | Jason Gunthorpe <[email protected]> | 2020-01-08 20:05:33 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-01-16 15:55:45 -0400 |
commit | da57db25677f8566a354b0d0e4973a0fdcabcf84 (patch) | |
tree | fb92069dc515e2f813156a3ed8d2a2046c13c95c /drivers/usb/cdns3/cdns3-debug.h | |
parent | d680e88e2013186e696665cbf2056fb32b781e41 (diff) |
RDMA/core: Remove ucontext_lock from the uverbs_destry_ufile_hw() path
This lock only serializes ucontext creation. Instead of checking the
ucontext_lock during destruction hold the existing hw_destroy_rwsem during
creation, which is the standard pattern for object creation.
The simplification of locking is needed for the next patch.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yishai Hadas <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions