diff options
| author | Michael Adam <obnox@samba.org> | 2013-04-05 17:14:43 +0200 |
|---|---|---|
| committer | Amitay Isaacs <amitay@gmail.com> | 2013-04-24 18:46:34 +1000 |
| commit | 81de2a13fb384a322e01034ba8d10beed9998cbe (patch) | |
| tree | 5c3530e516fc7f2b341b9610489d79cd100c7956 | |
| parent | 885d6312fab51384dd2219fd266e5ea9b15fe628 (diff) | |
vacuum: break line for RO-flags check in delete_record_traverse() for readability
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-By: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 3f7e35ff0db740cdcb6d27c43a59bb6ca6066efb)
| -rw-r--r-- | ctdb/server/ctdb_vacuum.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c index 4a000b03fc..cc647afa93 100644 --- a/ctdb/server/ctdb_vacuum.c +++ b/ctdb/server/ctdb_vacuum.c @@ -491,7 +491,11 @@ static int delete_record_traverse(void *param, void *data) header = (struct ctdb_ltdb_header *)tdb_data.dptr; - if (header->flags & (CTDB_REC_RO_HAVE_DELEGATIONS|CTDB_REC_RO_HAVE_READONLY|CTDB_REC_RO_REVOKING_READONLY|CTDB_REC_RO_REVOKE_COMPLETE)) { + if (header->flags & (CTDB_REC_RO_HAVE_DELEGATIONS| + CTDB_REC_RO_HAVE_READONLY| + CTDB_REC_RO_REVOKING_READONLY| + CTDB_REC_RO_REVOKE_COMPLETE)) + { /* The record has readonly flags set. skip deleting */ vdata->delete_skipped++; goto done; |
