Commit 4f1cab9b authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Linus Torvalds

I believe we need to set a timeout before doing the sleep in gss-upcall.

parent 9bd741ae
......@@ -348,6 +348,7 @@ gss_upcall(struct rpc_clnt *clnt, struct rpc_task *task, uid_t uid)
gss_new->uid = uid;
list_add(&gss_new->list, &gss_auth->upcalls);
gss_new = NULL;
task->tk_timeout = 5 * HZ;
rpc_sleep_on(&gss_msg->waitq, task, gss_release_callback, NULL);
spin_unlock(&gss_auth->lock);
res = rpc_queue_upcall(dentry->d_inode, msg);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment