projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'drm-fixes-3.8' of git://people.freedesktop.org/~agd5f/linux into drm...
[firefly-linux-kernel-4.4.55.git]
/
fs
/
affs
/
super.c
diff --git
a/fs/affs/super.c
b/fs/affs/super.c
index 1f030825cd3a3f5cb77b5f938efb70a6bd6a018c..b84dc7352502df2976438435b2523f98d5d55966 100644
(file)
--- a/
fs/affs/super.c
+++ b/
fs/affs/super.c
@@
-147,6
+147,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(affs_inode_cachep);
}