diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-03 18:53:37 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-25 05:43:27 +0200 |
commit | 2e32cf5ef2683a196df24ccd2cd2b4ed735ad9d3 (patch) | |
tree | 14861a1a6e31bec8e6d46cc8facf02b71760b92d /fs/cifs/cifs_fs_sb.h | |
parent | autofs4: make freeing sbi rcu-delayed (diff) | |
download | linux-2e32cf5ef2683a196df24ccd2cd2b4ed735ad9d3.tar.xz linux-2e32cf5ef2683a196df24ccd2cd2b4ed735ad9d3.zip |
cifs: rcu-delay unload_nls() and freeing sbi
makes ->d_hash(), ->d_compare() and ->permission() safety in RCU mode
independent from vfsmount_lock.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifs_fs_sb.h')
-rw-r--r-- | fs/cifs/cifs_fs_sb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifs_fs_sb.h b/fs/cifs/cifs_fs_sb.h index 37e4a72a7d1c..9409fa10bd5c 100644 --- a/fs/cifs/cifs_fs_sb.h +++ b/fs/cifs/cifs_fs_sb.h @@ -65,5 +65,6 @@ struct cifs_sb_info { char *mountdata; /* options received at mount time or via DFS refs */ struct backing_dev_info bdi; struct delayed_work prune_tlinks; + struct rcu_head rcu; }; #endif /* _CIFS_FS_SB_H */ |