summaryrefslogtreecommitdiffstats
path: root/ctdb
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-04-05 17:14:43 +0200
committerAmitay Isaacs <amitay@gmail.com>2013-04-24 18:46:34 +1000
commit81de2a13fb384a322e01034ba8d10beed9998cbe (patch)
tree5c3530e516fc7f2b341b9610489d79cd100c7956 /ctdb
parent885d6312fab51384dd2219fd266e5ea9b15fe628 (diff)
downloadsamba-81de2a13fb384a322e01034ba8d10beed9998cbe.tar.gz
samba-81de2a13fb384a322e01034ba8d10beed9998cbe.tar.xz
samba-81de2a13fb384a322e01034ba8d10beed9998cbe.zip
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)
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/server/ctdb_vacuum.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_vacuum.c b/ctdb/server/ctdb_vacuum.c
index 4a000b03fc7..cc647afa934 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;