aboutsummaryrefslogtreecommitdiffstats
path: root/fs/adfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/adfs')
-rw-r--r--fs/adfs/super.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c
index bdaec92353c2..c830c857c663 100644
--- a/fs/adfs/super.c
+++ b/fs/adfs/super.c
@@ -275,6 +275,11 @@ static int init_inodecache(void)
275 275
276static void destroy_inodecache(void) 276static void destroy_inodecache(void)
277{ 277{
278 /*
279 * Make sure all delayed rcu free inodes are flushed before we
280 * destroy cache.
281 */
282 rcu_barrier();
278 kmem_cache_destroy(adfs_inode_cachep); 283 kmem_cache_destroy(adfs_inode_cachep);
279} 284}
280 285