]> git.karo-electronics.de Git - karo-tx-linux.git/commit
super: fix for destroy lrus
authorGlauber Costa <glommer@gmail.com>
Thu, 27 Jun 2013 23:52:23 +0000 (09:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:04 +0000 (16:38 +1000)
commit2de0e2b305489119d6dc58d3ecb15433a3c95979
tree9e517179bf048e3cbc677ad506dec673526e7fc4
parent3cdbfdb7ce82abe873c6718fc546476d207269b3
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