[Ocfs2-tools-devel] [PATCH 11/25] o2cb: Add ops add-node and remove-node
Sunil Mushran
sunil.mushran at oracle.com
Sun Jun 27 10:33:10 PDT 2010
On 06/23/2010 07:33 PM, Joel Becker wrote:
>> + clustername = cmd->o_argv[1];
>> + nodename = cmd->o_argv[2];
>> +
>> + cluster = o2cb_config_get_cluster_by_name(cmd->o_config, clustername);
>>
> Do you need to check for zero-length arguments, or do the
> underlying calls find that out?
The parse function should ensure the arg is not zero length. Or, am
I missing something.
More information about the Ocfs2-tools-devel
mailing list