aboutsummaryrefslogtreecommitdiff
path: root/drivers/fmc
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-07-29 11:34:57 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-08-02 20:27:43 -0600
commitee190ab734ba4d3c7887bd193ce8124385738e44 (patch)
tree53ebb12de34e3032a59e0e19dde5bdfe42a5b503 /drivers/fmc
parent9f49a5b5c21d58aa84e16cfdc5e99e49faefcb7a (diff)
IB/ipoib: Get rid of the sysfs_mutex
This mutex was introduced to deal with the deadlock formed by calling unregister_netdev from within the sysfs callback of a netdev. Now that we have priv_destructor and needs_free_netdev we can switch to the more targeted solution of running the unregister from a work queue. This avoids the deadlock and gets rid of the mutex. The next patch in the series needs this mutex eliminated to create atomicity of unregisteration. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/fmc')
0 files changed, 0 insertions, 0 deletions