diff options
Diffstat (limited to 'fs/qnx6')
-rw-r--r-- | fs/qnx6/inode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/qnx6/inode.c b/fs/qnx6/inode.c index 2049c81..1b37fff 100644 --- a/fs/qnx6/inode.c +++ b/fs/qnx6/inode.c @@ -651,6 +651,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(qnx6_inode_cachep); } |