commit | e566d48c9bd56f57e25e855a21e06ca2c2525795 | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruen@suse.de> | Wed Jul 21 19:44:45 2010 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Aug 09 16:48:47 2010 -0400 |
tree | a1520539bab91b693a00eff3ca11340b8ae9038a | |
parent | 2aec7c523291621ebb68ba8e0bd9b52a26bb76ee [diff] |
mbcache: fix shrinker function return value The shrinker function is supposed to return the number of cache entries after shrinking, not before shrinking. Fix that. Based on a patch from Wang Sheng-Hui <crosslonelyover@gmail.com>. Signed-off-by: Andreas Gruenbacher <agruen@suse.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>