super: fix for destroy lrus
authorGlauber Costa <glommer@gmail.com>
Wed, 28 Aug 2013 00:18:18 +0000 (10:18 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Sep 2013 22:56:32 +0000 (18:56 -0400)
commitf5e1dd34561e0fb06400b378d595198918833021
tree2cdaf7568df3ab762f42e7849fc9211dcb60d1bc
parent5ca302c8e502ca53b7d75f12127ec0289904003a
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>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/super.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_qm.c