diff options
author | Andreas Gruenbacher <agruen@suse.de> | 2010-07-21 19:44:45 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-08-09 16:48:47 -0400 |
commit | e566d48c9bd56f57e25e855a21e06ca2c2525795 (patch) | |
tree | a1520539bab91b693a00eff3ca11340b8ae9038a /lib/idr.c | |
parent | 2aec7c523291621ebb68ba8e0bd9b52a26bb76ee (diff) | |
download | linux-e566d48c9bd56f57e25e855a21e06ca2c2525795.tar.bz2 |
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>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions