From: Al Viro Date: Tue, 1 Oct 2013 17:11:21 +0000 (-0400) Subject: fs/super.c: fix lru_list leak for real X-Git-Tag: v3.12-rc4~32^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2d22ecd3cf3c49aeecdc10ffd7af10ec1f7eab6;p=pandora-kernel.git 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 --- Reading git-diff-tree failed