summaryrefslogtreecommitdiff
path: root/fs/fat/fat.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-10-03 17:16:50 (GMT)
committerAl Viro <viro@zeniv.linux.org.uk>2013-10-25 03:43:28 (GMT)
commitcac45b062c67f86dc1d91d675128838773523243 (patch)
treefcc7dc448d0e14f992794657eae1f052e0826f5a /fs/fat/fat.h
parent2e32cf5ef2683a196df24ccd2cd2b4ed735ad9d3 (diff)
downloadlinux-fsl-qoriq-cac45b062c67f86dc1d91d675128838773523243.tar.xz
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.h1
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 */