diff options
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/super.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c index 22a0d7ed5fa..d5712293579 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c @@ -280,6 +280,11 @@ static int init_inodecache(void) static void destroy_inodecache(void) { + /* + * Make sure all delayed rcu free inodes are flushed before we + * destroy cache. + */ + rcu_barrier(); kmem_cache_destroy(adfs_inode_cachep); } |