diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-03 13:16:50 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-24 23:43:28 -0400 |
commit | cac45b062c67f86dc1d91d675128838773523243 (patch) | |
tree | fcc7dc448d0e14f992794657eae1f052e0826f5a /fs/fat/fat.h | |
parent | 2e32cf5ef2683a196df24ccd2cd2b4ed735ad9d3 (diff) | |
download | op-kernel-dev-cac45b062c67f86dc1d91d675128838773523243.zip op-kernel-dev-cac45b062c67f86dc1d91d675128838773523243.tar.gz |
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 4241e6f..7c31f4b 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 */ |