]> git.karo-electronics.de Git - karo-tx-linux.git/commit
super: fix for destroy lrus
authorGlauber Costa <glommer@gmail.com>
Wed, 3 Jul 2013 00:20:01 +0000 (10:20 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 17 Jul 2013 02:34:58 +0000 (12:34 +1000)
commit54178fc00fe4db710e7f40f5ca13434aac280631
treeae09dcaf86745d2646b9f2d94feecf3b94d71c5a
parentd1f9ab3bd0eb36b1bec6d404f2df18207c2675d3
super: fix for destroy lrus

This patch adds the missing call to list_lru_destroy (spotted by Li Zhong)
and moves the deletion to after the shrinker is unregistered, as correctly
spotted by Dave

Signed-off-by: Glauber Costa <glommer@openvz.org>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/super.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_qm.c