Skip to content
Snippets Groups Projects
Commit c2d22ecd authored by Al Viro's avatar Al Viro
Browse files

fs/super.c: fix lru_list leak for real


Freeing ->s_{inode,dentry}_lru in deactivate_locked_super() is wrong;
the right place is destroy_super().  As it is, we leak them if sget()
decides that new superblock it has allocated (and never shown to
anybody) isn't needed and should be freed.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 13f35838
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment