From: Ronnie Sahlberg Date: Thu, 18 Oct 2007 23:04:52 +0000 (+1000) Subject: add a stub restart method for IB X-Git-Tag: tevent-0.9.20~348^2~2370^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fe7b5b4d85efeb0bde430925bdea01961e739098;p=thirdparty%2Fsamba.git add a stub restart method for IB (This used to be ctdb commit d318504ad5a49dbdfa307be39ae88df839e6308d) --- diff --git a/ctdb/ib/ibw_ctdb_init.c b/ctdb/ib/ibw_ctdb_init.c index 8dbb9c241cc..ca37cf0151e 100644 --- a/ctdb/ib/ibw_ctdb_init.c +++ b/ctdb/ib/ibw_ctdb_init.c @@ -177,6 +177,12 @@ static int ctdb_ibw_queue_pkt(struct ctdb_node *node, uint8_t *data, uint32_t le return rc; } +static void ctdb_ibw_restart(struct ctdb_node *node) +{ + /* TODO: implement this method for IB */ + DEBUG(0,("WARNING: method restart is not yet implemented for IB\n"); +} + /* * transport packet allocator - allows transport to control memory for packets */ @@ -204,6 +210,7 @@ static const struct ctdb_methods ctdb_ibw_methods = { .queue_pkt = ctdb_ibw_queue_pkt, .add_node = ctdb_ibw_add_node, .allocate_pkt = ctdb_ibw_allocate_pkt, + .restart = ctdb_ibw_restart, // .stop = ctdb_ibw_stop };