Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17614
b: refs/heads/master
c: 532347e
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Jan 10, 2006
1 parent f33b35a commit 14caede
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e866cfa939de7f52c154a9495eb5767f89abf453
refs/heads/master: 532347e2bbae9e849816dc7b12a3d0f2c42d4944
3 changes: 2 additions & 1 deletion trunk/net/sunrpc/clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ rpc_shutdown_client(struct rpc_clnt *clnt)
clnt->cl_oneshot = 0;
clnt->cl_dead = 0;
rpc_killall_tasks(clnt);
sleep_on_timeout(&destroy_wait, 1*HZ);
wait_event_timeout(destroy_wait,
atomic_read(&clnt->cl_users) > 0, 1*HZ);
}

if (atomic_read(&clnt->cl_users) < 0) {
Expand Down

0 comments on commit 14caede

Please sign in to comment.