From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Teigland Date: Mon, 5 Nov 2012 14:30:33 -0500 Subject: [Cluster-devel] [PATCH] dlm_stonith_{off, reboot} aliases for fence helper In-Reply-To: <1352138722-2723-2-git-send-email-jajcus@jajcus.net> References: <20121105174741.GB2168@lolek.nigdzie> <1352138722-2723-1-git-send-email-jajcus@jajcus.net> <1352138722-2723-2-git-send-email-jajcus@jajcus.net> Message-ID: <20121105193033.GH27466@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.