From fe7b5b4d85efeb0bde430925bdea01961e739098 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Fri, 19 Oct 2007 09:04:52 +1000 Subject: [PATCH] add a stub restart method for IB (This used to be ctdb commit d318504ad5a49dbdfa307be39ae88df839e6308d) --- ctdb/ib/ibw_ctdb_init.c | 7 +++++++ 1 file changed, 7 insertions(+) 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 }; -- 2.47.3