[Cluster-devel] [PATCH] dlm_stonith_{off, reboot} aliases for fence helper

David Teigland teigland at redhat.com
Mon Nov 5 19:30:33 UTC 2012


On Mon, Nov 05, 2012 at 07:05:22PM +0100, Jacek Konieczny wrote:
> -	rv = stonith_api_kick_helper(nodeid, 300, 1);
> +	rv = stonith_api_kick_helper(nodeid, 300, turn_off);

I'd like it to be "reboot", but seeing the arg as "bool off" I figured the
opposite would be "on" ... if you're saying that the opposite of off is
actually reboot, then I'll just make it 0.





More information about the Cluster-devel mailing list