mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
recovery: Add prototypes for tdb internal functions
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 98ac99c4a79fe2ee024890bb27c3ca68dc02d434)
This commit is contained in:
parent
634bbc5469
commit
e2d83970e9
@ -35,6 +35,10 @@ static int ctdb_lock_all_databases_mark(struct ctdb_context *ctdb, uint32_t prio
|
||||
{
|
||||
struct ctdb_db_context *ctdb_db;
|
||||
|
||||
/* these are internal tdb functions */
|
||||
int tdb_transaction_write_lock_mark(struct tdb_context *tdb);
|
||||
int tdb_transaction_write_lock_unmark(struct tdb_context *tdb);
|
||||
|
||||
if ((priority < 1) || (priority > NUM_DB_PRIORITIES)) {
|
||||
DEBUG(DEBUG_ERR,(__location__ " Illegal priority when trying to mark all databases Prio:%u\n", priority));
|
||||
return -1;
|
||||
@ -90,6 +94,9 @@ static int ctdb_lock_all_databases_unmark(struct ctdb_context *ctdb, uint32_t pr
|
||||
{
|
||||
struct ctdb_db_context *ctdb_db;
|
||||
|
||||
/* this is an internal tdb functions */
|
||||
int tdb_transaction_write_lock_unmark(struct tdb_context *tdb);
|
||||
|
||||
if ((priority < 1) || (priority > NUM_DB_PRIORITIES)) {
|
||||
DEBUG(DEBUG_ERR,(__location__ " Illegal priority when trying to mark all databases Prio:%u\n", priority));
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user