From e891fd141d77143d9ab2f9b14fb1f1398d180993 Mon Sep 17 00:00:00 2001 From: Olga Kornievskaia Date: Wed, 7 Mar 2012 13:39:17 -0500 Subject: [PATCH] in rpc_reconnect respect original needcb value --- daemon/nfs41_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/nfs41_rpc.c b/daemon/nfs41_rpc.c index 65dd545..adbb9f1 100644 --- a/daemon/nfs41_rpc.c +++ b/daemon/nfs41_rpc.c @@ -286,7 +286,7 @@ static int rpc_reconnect( AcquireSRWLockExclusive(&rpc->lock); status = get_client_for_multi_addr(&rpc->addrs, rpc->wsize, rpc->rsize, - rpc, NULL, &client, &addr_index); + rpc->needcb?rpc:NULL, NULL, &client, &addr_index); if (status) goto out_unlock;