diff options
Diffstat (limited to 'fs/logfs')
-rw-r--r-- | fs/logfs/inode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/logfs/inode.c b/fs/logfs/inode.c index bda3908..adb9011 100644 --- a/fs/logfs/inode.c +++ b/fs/logfs/inode.c @@ -417,5 +417,10 @@ int logfs_init_inode_cache(void) void logfs_destroy_inode_cache(void) { + /* + * Make sure all delayed rcu free inodes are flushed before we + * destroy cache. + */ + rcu_barrier(); kmem_cache_destroy(logfs_inode_cache); } |