diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-03 19:16:50 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-25 05:43:28 +0200 |
commit | cac45b062c67f86dc1d91d675128838773523243 (patch) | |
tree | fcc7dc448d0e14f992794657eae1f052e0826f5a /fs/fat/fat.h | |
parent | cifs: rcu-delay unload_nls() and freeing sbi (diff) | |
download | linux-cac45b062c67f86dc1d91d675128838773523243.tar.xz linux-cac45b062c67f86dc1d91d675128838773523243.zip |
fat: rcu-delay unloading nls and freeing sbi
makes ->d_hash() and ->d_compare() safety in RCU mode independent
from vfsmount_lock.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r-- | fs/fat/fat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index 4241e6f39e86..7c31f4bc74a9 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h @@ -102,6 +102,7 @@ struct msdos_sb_info { struct hlist_head dir_hashtable[FAT_HASH_SIZE]; unsigned int dirty; /* fs state before mount */ + struct rcu_head rcu; }; #define FAT_CACHE_VALID 0 /* special case for valid cache */ |