mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
fcst: Add an rcu_barrier() call
fcst uses call_rcu() hence rcu_barrier() must be called before module
unloading finishes.
Fixes: 6023f1ad34 ("This patch adds a new target module for SCST and libfc that accepts FCP requests from libfc HBAs running Fibre Channel over Ethernet (FCoE) and passes them to SCST.") # v3.0.0 (r1514).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8019 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -72,6 +72,8 @@ static int __init ft_module_init(void)
|
||||
|
||||
static void __exit ft_module_exit(void)
|
||||
{
|
||||
rcu_barrier();
|
||||
|
||||
blocking_notifier_chain_unregister(&fc_lport_notifier_head,
|
||||
&ft_notifier);
|
||||
fc_fc4_deregister_provider(FC_TYPE_FCP, &ft_prov);
|
||||
|
||||
Reference in New Issue
Block a user