Sfoglia il codice sorgente

Merge branch 'bugfixes' into nfs-for-next

Trond Myklebust 15 anni fa
parent
commit
e4ee5d4dfd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      net/sunrpc/auth_gss/auth_gss.c

+ 1 - 1
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();