|
@@ -296,9 +296,9 @@ void fc_fc4_deregister_provider(enum fc_fh_type type, struct fc4_prov *prov)
|
|
|
BUG_ON(type >= FC_FC4_PROV_SIZE);
|
|
|
mutex_lock(&fc_prov_mutex);
|
|
|
if (prov->recv)
|
|
|
- rcu_assign_pointer(fc_passive_prov[type], NULL);
|
|
|
+ RCU_INIT_POINTER(fc_passive_prov[type], NULL);
|
|
|
else
|
|
|
- rcu_assign_pointer(fc_active_prov[type], NULL);
|
|
|
+ RCU_INIT_POINTER(fc_active_prov[type], NULL);
|
|
|
mutex_unlock(&fc_prov_mutex);
|
|
|
synchronize_rcu();
|
|
|
}
|