summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-08 14:36:53 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-08 14:36:53 -0500
commite4ee5d4dfd9536ec60e5cb0bd439ede3e9d361a0 (patch)
treeea154524598a31134835a6be0843caf8310b06a0
parent7cab89b275fd5647e72b781ac41b58a214640334 (diff)
parent480e3243df156e39eea6c91057e2ae612a6bbe19 (diff)
downloadlinux-3.10-e4ee5d4dfd9536ec60e5cb0bd439ede3e9d361a0.tar.gz
linux-3.10-e4ee5d4dfd9536ec60e5cb0bd439ede3e9d361a0.tar.bz2
linux-3.10-e4ee5d4dfd9536ec60e5cb0bd439ede3e9d361a0.zip
Merge branch 'bugfixes' into nfs-for-next
-rw-r--r--net/sunrpc/auth_gss/auth_gss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index fc6a43ccd95..129d75ea25d 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -485,7 +485,7 @@ gss_refresh_upcall(struct rpc_task *task)
dprintk("RPC: %5u gss_refresh_upcall for uid %u\n", task->tk_pid,
cred->cr_uid);
gss_msg = gss_setup_upcall(task->tk_client, gss_auth, cred);
- if (IS_ERR(gss_msg) == -EAGAIN) {
+ if (PTR_ERR(gss_msg) == -EAGAIN) {
/* XXX: warning on the first, under the assumption we
* shouldn't normally hit this case on a refresh. */
warn_gssd();