aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs')
-rw-r--r--fs/ecryptfs/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 9b627c15010a..34fcde765d24 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -710,6 +710,12 @@ static void ecryptfs_free_kmem_caches(void)
710{ 710{
711 int i; 711 int i;
712 712
713 /*
714 * Make sure all delayed rcu free inodes are flushed before we
715 * destroy cache.
716 */
717 rcu_barrier();
718
713 for (i = 0; i < ARRAY_SIZE(ecryptfs_cache_infos); i++) { 719 for (i = 0; i < ARRAY_SIZE(ecryptfs_cache_infos); i++) {
714 struct ecryptfs_cache_info *info; 720 struct ecryptfs_cache_info *info;
715 721