ctdb-readonly: Add an early return to simplify code
authorAmitay Isaacs <amitay@gmail.com>
Tue, 12 Aug 2014 13:54:39 +0000 (23:54 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 13 Aug 2014 06:57:11 +0000 (08:57 +0200)
commitf96f395d853e0181d9ee031c3e3f1d31f5cff35c
treeecc167d4a26c116dfa73b1c5dcaf59ee3279d2c9
parentb8e9f6b015811d7fb162634f85721b5d27ab503b
ctdb-readonly: Add an early return to simplify code

This patch makes the subsequent logic change small and easier to
understand.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_call.c