diff options
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r-- | fs/ecryptfs/main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c index 24bb043e50d..4e0886c9e5c 100644 --- a/fs/ecryptfs/main.c +++ b/fs/ecryptfs/main.c | |||
@@ -711,6 +711,12 @@ static void ecryptfs_free_kmem_caches(void) | |||
711 | { | 711 | { |
712 | int i; | 712 | int i; |
713 | 713 | ||
714 | /* | ||
715 | * Make sure all delayed rcu free inodes are flushed before we | ||
716 | * destroy cache. | ||
717 | */ | ||
718 | rcu_barrier(); | ||
719 | |||
714 | for (i = 0; i < ARRAY_SIZE(ecryptfs_cache_infos); i++) { | 720 | for (i = 0; i < ARRAY_SIZE(ecryptfs_cache_infos); i++) { |
715 | struct ecryptfs_cache_info *info; | 721 | struct ecryptfs_cache_info *info; |
716 | 722 | ||