mbcache: fix shrinker function return value
authorAndreas Gruenbacher <agruen@suse.de>
Wed, 21 Jul 2010 17:44:45 +0000 (19:44 +0200)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 9 Aug 2010 20:48:47 +0000 (16:48 -0400)
commite566d48c9bd56f57e25e855a21e06ca2c2525795
treea1520539bab91b693a00eff3ca11340b8ae9038a
parent2aec7c523291621ebb68ba8e0bd9b52a26bb76ee
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>
fs/mbcache.c