Jason Gunthorpe e6d5d5ddd0 IB/uverbs: Clarify and revise uverbs_close_fd
The locking requirements here have changed slightly now that we can rely
on the ib_uverbs_file always existing and containing all the necessary
locking infrastructure.

That means we can get rid of the cleanup_mutex usage (this was protecting
the check on !uboj->context).

Otherwise, follow the same pattern that IDR uses for destroy, acquire
exclusive write access, then call destroy and the undo the 'lookup'.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-07-25 14:21:22 -06:00
..
2015-06-12 14:49:18 -04:00
2018-07-13 12:18:55 -06:00
2018-06-12 16:19:22 -07:00
2018-06-18 11:22:54 -06:00
2018-06-04 08:48:11 -06:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2018-03-29 13:42:29 -06:00
2016-03-03 10:20:25 -05:00