git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c7d19
)
ctdb: Use C99 initializer for last element of tunables
author
Andreas Schneider
<asn@samba.org>
Thu, 13 Dec 2018 09:34:11 +0000
(10:34 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 28 Jan 2019 09:29:21 +0000
(10:29 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
ctdb/common/tunable.c
patch
|
blob
|
history
diff --git
a/ctdb/common/tunable.c
b/ctdb/common/tunable.c
index f516d8c537424ce77bb8d2d4f703f934e2a02782..8d475858c5f3dc499d21ed3ccf13ba523c44db2b 100644
(file)
--- a/
ctdb/common/tunable.c
+++ b/
ctdb/common/tunable.c
@@
-157,7
+157,7
@@
static struct {
offsetof(struct ctdb_tunable_list, ip_alloc_algorithm) },
{ "AllowMixedVersions", 0, false,
offsetof(struct ctdb_tunable_list, allow_mixed_versions) },
- {
NULL, 0,
true, }
+ {
.obsolete =
true, }
};
void ctdb_tunable_set_defaults(struct ctdb_tunable_list *tun_list)