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

Joel Becker Joel.Becker at ORACLE.COM
Tue Feb 16 20:37:42 PST 2010


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';

Joel

-- 

"Nothing is wrong with California that a rise in the ocean level
 wouldn't cure."
        - Ross MacDonald

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-tools-devel mailing list