summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2010-07-21 15:33:01 +1000
committerDave Chinner <david@fromorbit.com>2010-07-21 15:33:01 +1000
commit567c7b0edec0200c5c6613f07c3d3b4034fdc836 (patch)
treeee9724f1b9b8bed762a57877c4940074a37ce6a4 /net/sunrpc
parentf4b23cc2d5dc78ef5acbc529eb1219cc41eb5b96 (diff)
downloadop-kernel-dev-567c7b0edec0200c5c6613f07c3d3b4034fdc836.zip
op-kernel-dev-567c7b0edec0200c5c6613f07c3d3b4034fdc836.tar.gz
mm: add context argument to shrinker callback to remaining shrinkers
Add the shrinkers missed in the first conversion of the API in commit 7f8275d0d660c146de6ee3017e1e2e594c49e820 ("mm: add context argument to shrinker callback"). Signed-off-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth.c b/net/sunrpc/auth.c
index 73affb8..8dc47f1 100644
--- a/net/sunrpc/auth.c
+++ b/net/sunrpc/auth.c
@@ -267,7 +267,7 @@ rpcauth_prune_expired(struct list_head *free, int nr_to_scan)
* Run memory cache shrinker.
*/
static int
-rpcauth_cache_shrinker(int nr_to_scan, gfp_t gfp_mask)
+rpcauth_cache_shrinker(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask)
{
LIST_HEAD(free);
int res;
OpenPOWER on IntegriCloud