mirror of
https://github.com/samba-team/samba.git
synced 2025-03-08 04:58:40 +03:00
allow ctdbd_allocate_pkt to be used in client code
(This used to be ctdb commit 2c37cc7bb97dee5bb2e929958e6c834b27c9ae6a)
This commit is contained in:
parent
ee228e870d
commit
6c56be8888
@ -695,7 +695,9 @@ struct ctdb_req_header *_ctdbd_allocate_pkt(struct ctdb_context *ctdb,
|
||||
hdr->length = length;
|
||||
hdr->ctdb_magic = CTDB_MAGIC;
|
||||
hdr->ctdb_version = CTDB_VERSION;
|
||||
hdr->generation = ctdb->vnn_map->generation;
|
||||
if (ctdb->vnn_map) {
|
||||
hdr->generation = ctdb->vnn_map->generation;
|
||||
}
|
||||
|
||||
return hdr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user