From cac45b062c67f86dc1d91d675128838773523243 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 3 Oct 2013 13:16:50 -0400 Subject: 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 --- fs/fat/fat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/fat/fat.h') 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 */ -- cgit v1.2.3