]> 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)
commitccebdea770a6b910a9a9c8683461486502e12309
treee32c33a62c950432f348c21b0d1ce1834fdcaf66
parent5955edd237344bc4e433b15d8899bdb1f960490b
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: aada6413944e ("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