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)
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

diff --cc fs/mbcache.c
Simple merge