ncpfs: rcu-delay unload_nls() and freeing ncp_server

makes ->d_hash() and ->d_compare() safety in RCU mode independent
from vfsmount_lock.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2013-10-03 13:22:44 -04:00
parent cac45b062c
commit 1dcddd4abd
2 changed files with 13 additions and 8 deletions

View File

@@ -38,7 +38,7 @@ struct ncp_mount_data_kernel {
};
struct ncp_server {
struct rcu_head rcu;
struct ncp_mount_data_kernel m; /* Nearly all of the mount data is of
interest for us later, so we store
it completely. */