diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index a41044a31083..e7931cc55d0c 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -968,6 +968,11 @@ cifs_init_inodecache(void) | |||
968 | static void | 968 | static void |
969 | cifs_destroy_inodecache(void) | 969 | cifs_destroy_inodecache(void) |
970 | { | 970 | { |
971 | /* | ||
972 | * Make sure all delayed rcu free inodes are flushed before we | ||
973 | * destroy cache. | ||
974 | */ | ||
975 | rcu_barrier(); | ||
971 | kmem_cache_destroy(cifs_inode_cachep); | 976 | kmem_cache_destroy(cifs_inode_cachep); |
972 | } | 977 | } |
973 | 978 | ||