aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r--fs/cifs/cifsfs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index db8a404a51dd..d4ce77a02327 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -977,6 +977,11 @@ cifs_init_inodecache(void)
977static void 977static void
978cifs_destroy_inodecache(void) 978cifs_destroy_inodecache(void)
979{ 979{
980 /*
981 * Make sure all delayed rcu free inodes are flushed before we
982 * destroy cache.
983 */
984 rcu_barrier();
980 kmem_cache_destroy(cifs_inode_cachep); 985 kmem_cache_destroy(cifs_inode_cachep);
981} 986}
982 987