client: async_callback() sets result to -ETIME if a control times out
commit28d608556dd3762d6989f97c368367c77551cbb6
authorMartin Schwenke <martin@meltin.net>
Thu, 23 May 2013 06:09:38 +0000 (23 16:09 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 24 May 2013 06:04:56 +0000 (24 16:04 +1000)
tree9e8cdf18767e6a5a1867540f3bae56bc3b459aa1
parent140f0cfd3b73ad2f1dbb6ce4870fc0be679fd4fd
client: async_callback() sets result to -ETIME if a control times out

Otherwise there is no way of treating a timeout differently to a
general failure.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>

(This used to be ctdb commit 40e34773b8063196457746ffe7a048eb87d96d61)
ctdb/client/ctdb_client.c