]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: switch smcd_dev_list spinlock to mutex
authorUrsula Braun <ubraun@linux.ibm.com>
Wed, 8 Jul 2020 15:05:14 +0000 (17:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2020 19:35:15 +0000 (12:35 -0700)
commit82087c0330534d18e6db25869871e589d214b7fa
treee32c33a62c950432f348c21b0d1ce1834fdcaf66
parent92f3cb0e11dda530d1daa42d7a11af5a92ed89e4
net/smc: switch smcd_dev_list spinlock to mutex

The similar smc_ib_devices spinlock has been converted to a mutex.
Protecting the smcd_dev_list by a mutex is possible as well. This
patch converts the smcd_dev_list spinlock to a mutex.

Fixes: c6ba7c9ba43d ("net/smc: add base infrastructure for SMC-D and ISM")
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c
net/smc/smc_ism.c
net/smc/smc_ism.h
net/smc/smc_pnet.c