From: Marc Kleine-Budde <mkl@pengutronix.de>
To: linux-nfs@vger.kernel.org
Cc: Dave Chinner <dchinner@redhat.com>,
linux-kernel@vger.kernel.org,
Trond Myklebust <Trond.Myklebust@netapp.com>,
"J. Bruce Fields" <bfields@fieldses.org>,
Marc Kleine-Budde <mkl@pengutronix.de>
Subject: [PATCH] SUNRPC auth: add context argument to shrinker callback
Date: Wed, 21 Jul 2010 09:41:35 +0200 [thread overview]
Message-ID: <1279698095-17287-1-git-send-email-mkl@pengutronix.de> (raw)
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@pengutronix.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
next reply other threads:[~2010-07-21 7:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-21 7:41 Marc Kleine-Budde [this message]
2010-07-22 0:13 ` [PATCH] SUNRPC auth: add context argument to shrinker callback Dave Chinner
2010-07-22 6:47 ` Marc Kleine-Budde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279698095-17287-1-git-send-email-mkl@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=Trond.Myklebust@netapp.com \
--cc=bfields@fieldses.org \
--cc=dchinner@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).