diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-01 13:11:21 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-10-01 13:11:21 -0400 |
commit | c2d22ecd3cf3c49aeecdc10ffd7af10ec1f7eab6 (patch) | |
tree | cb180b5926c4b81a4385f785c7f0b856f8620fcd /fs/ext4/mballoc.h | |
parent | 13f3583892cb7afdb2e9eb0207dc4e03ec6f01fd (diff) | |
download | linux-c2d22ecd3cf3c49aeecdc10ffd7af10ec1f7eab6.tar.bz2 |
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: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext4/mballoc.h')
0 files changed, 0 insertions, 0 deletions