[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1279698095-17287-1-git-send-email-mkl@pengutronix.de>
Date: Wed, 21 Jul 2010 09:41:35 +0200
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: linux-nfs@...r.kernel.org
Cc: Dave Chinner <dchinner@...hat.com>, linux-kernel@...r.kernel.org,
Trond Myklebust <Trond.Myklebust@...app.com>,
"J. Bruce Fields" <bfields@...ldses.org>,
Marc Kleine-Budde <mkl@...gutronix.de>
Subject: [PATCH] SUNRPC auth: add context argument to shrinker callback
Hello,
I found this regression in the current mainline tree.
Please review,
Marc
---------8<--------8<--------8<--------8<--------8<--------8<--------8<-------
This patch fixes a regression introduced with commit
7f8275d0d660c146de6ee3017e1e2e594c49e820, the signature of the shrinker
callback has been changes, but this file has not been modified.
This results in the following compiler warning:
net/sunrpc/auth.c:586: warning: initialization from incompatible pointer
type
Signed-off-by: Marc Kleine-Budde <mkl@...gutronix.de>
---
net/sunrpc/auth.c | 2 +-
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;
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists