[Ocfs2-tools-devel] [patch 3/9] Add some output information in command "stats" for slot remove, take 3

Joel Becker Joel.Becker at oracle.com
Thu Jun 21 14:48:13 PDT 2007


On Wed, Jun 20, 2007 at 03:21:16PM +0800, tao.ma at oracle.com wrote:
> +void get_tunefs_flag(uint32_t incompat_flag, uint16_t flag, GString *str)
> +{
> +	if (!(incompat_flag & OCFS2_FEATURE_INCOMPAT_TUNEFS_INPROG)) {
> +		g_string_append(str, "None");
> +		return;
> +	}

	See, here you correctly check for FEATURE_INCOMPAT_TUNEFS before
continuing on to s_tunefs_flag.

Joel

-- 

"Time is an illusion, lunchtime doubly so."
        -Douglas Adams

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