diff options
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r-- | fs/befs/linuxvfs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 7f73a692bfd0..2b3bda8d5e68 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c | |||
@@ -457,6 +457,11 @@ befs_init_inodecache(void) | |||
457 | static void | 457 | static void |
458 | befs_destroy_inodecache(void) | 458 | befs_destroy_inodecache(void) |
459 | { | 459 | { |
460 | /* | ||
461 | * Make sure all delayed rcu free inodes are flushed before we | ||
462 | * destroy cache. | ||
463 | */ | ||
464 | rcu_barrier(); | ||
460 | kmem_cache_destroy(befs_inode_cachep); | 465 | kmem_cache_destroy(befs_inode_cachep); |
461 | } | 466 | } |
462 | 467 | ||