ctdbd: Update the get_tunable code to return -EINVAL for unknown tunable
authorMartin Schwenke <martin@meltin.net>
Tue, 21 May 2013 05:41:56 +0000 (15:41 +1000)
committerMartin Schwenke <martin@meltin.net>
Fri, 24 May 2013 06:04:50 +0000 (16:04 +1000)
commit03fd90d41f9cd9b8c42dc6b8b8d46ae19101a544
treeadb761397099f39c5a936bc06b078cdc197a7664
parent473cfcb019f0cb4a094bf10397f7414f7923ee57
ctdbd: Update the get_tunable code to return -EINVAL for unknown tunable

Otherwise callers can't tell the difference between some other failure
(e.g. memory allocation failure) and an unknown tunable.

Signed-off-by: Martin Schwenke <martin@meltin.net>
client/ctdb_client.c
server/ctdb_tunables.c
tools/ctdb.c