staging/lustre/ptlrpc: convert to new shrinker API
authorPeng Tao <bergwolf@gmail.com>
Wed, 28 Aug 2013 00:18:20 +0000 (10:18 +1000)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 10 Sep 2013 22:56:32 +0000 (18:56 -0400)
commit3bb22ec53e2bd12a241ed84359bffd591a40ab87
tree9993b6f31741cb85fe20b6bf53028576203c8336
parentfe92a0557a6f332119c51fdd2f3d574040989447
staging/lustre/ptlrpc: convert to new shrinker API

Convert sptlrpc encode pool shrinker to use scan/count API.

Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c