ctdb-recoverd: Remove redundant condition when checking recovery lock
commit91f99ddfb3ba1cfb98223863ac3a474a5fbe4ea1
authorMartin Schwenke <martin@meltin.net>
Tue, 31 Mar 2015 02:59:49 +0000 (31 13:59 +1100)
committerAmitay Isaacs <amitay@samba.org>
Sun, 10 May 2015 01:22:13 +0000 (10 03:22 +0200)
tree322d889cc9e7b50cf9ebb396feefbd1dae7a7e07
parenta45ab7d1fe148e9f03b4a1e4b37388e50a91cf0c
ctdb-recoverd: Remove redundant condition when checking recovery lock

It isn't possible to hold the recovery lock without having a lock file
set.

This is part of a goal to generalise the recovery lock mechanism to
just use a helper program, which may use a lock file or may use
something else.

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