浏览代码

Merge branch 'bugfixes' into nfs-for-next

Trond Myklebust 15 年之前
父节点
当前提交
e4ee5d4dfd
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,
 	dprintk("RPC: %5u gss_refresh_upcall for uid %u\n", task->tk_pid,
 								cred->cr_uid);
 								cred->cr_uid);
 	gss_msg = gss_setup_upcall(task->tk_client, gss_auth, cred);
 	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
 		/* XXX: warning on the first, under the assumption we
 		 * shouldn't normally hit this case on a refresh. */
 		 * shouldn't normally hit this case on a refresh. */
 		warn_gssd();
 		warn_gssd();