[Ocfs2-tools-devel] [PATCH 04/11] Ocfs2-tools: Add main header for o2info.

tristan tristan.ye at oracle.com
Fri Feb 19 20:57:49 PST 2010


Joel Becker wrote:
> On Fri, Jan 08, 2010 at 04:50:54PM +0800, Tristan Ye wrote:
>   
>> +#define O2INFO_USE_LIBOCFS2	(0x00000001)
>> +#define O2INFO_USE_IOCTL	(0x00000002)
>>     
>
> 	Make this an enum.
>
>   
>> +struct o2info_method {
>> +	int om_method;			/* Use libocfs2 or ioctl */
>>     
>
> 	Then this becomes 'enum o2info_method om_method';
>   

Oh, yes, they're also exclusive.

> Joel
>
>   




More information about the Ocfs2-tools-devel mailing list