]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/super.c
super: fix for destroy lrus
[karo-tx-linux.git] / fs / super.c
index b79e732555cbb77b4f915ef631aa37ea728359a6..09da975a2c8939b40c67a3be1d8e921aed7956f3 100644 (file)
@@ -328,6 +328,9 @@ void deactivate_locked_super(struct super_block *s)
 
                /* caches are now gone, we can safely kill the shrinker now */
                unregister_shrinker(&s->s_shrink);
+               list_lru_destroy(&s->s_dentry_lru);
+               list_lru_destroy(&s->s_inode_lru);
+
                put_filesystem(fs);
                put_super(s);
        } else {