|
Lines 263-268
clnt_reconnect_call(
Link Here
|
| 263 |
if (!rc->rc_client) { |
263 |
if (!rc->rc_client) { |
| 264 |
mtx_unlock(&rc->rc_lock); |
264 |
mtx_unlock(&rc->rc_lock); |
| 265 |
stat = clnt_reconnect_connect(cl); |
265 |
stat = clnt_reconnect_connect(cl); |
|
|
266 |
if (stat != RPC_SUCCESS && tries == 0) |
| 267 |
printf("krpc: reconnect to server (NFS?)" |
| 268 |
" failed stat=%d\n", stat); |
| 266 |
if (stat == RPC_SYSTEMERROR) { |
269 |
if (stat == RPC_SYSTEMERROR) { |
| 267 |
error = tsleep(&fake_wchan, |
270 |
error = tsleep(&fake_wchan, |
| 268 |
rc->rc_intr ? PCATCH : 0, "rpccon", hz); |
271 |
rc->rc_intr ? PCATCH : 0, "rpccon", hz); |