[Ocfs2-devel] [PATCH] ocfs2: Change bg_chain check for ocfs2_validate_gd_parent.

Joel Becker Joel.Becker at oracle.com
Wed Mar 17 12:26:52 PDT 2010


On Wed, Mar 03, 2010 at 11:26:27AM +0800, Tao Ma wrote:
> In ocfs2_validate_gd_parent, we check bg_chain against the
> cl_next_free_rec of the dinode. Actually in resize, we have
> the chance of bg_chain == cl_next_free_rec. So add some
> additional condition check for it.
> 
> I also rename paramter "clean_error" to "resize", since the
> old one is not clearly enough to indicate that we should only
> meet with this case in resize.
> 
> btw, the correpsonding bug is
> http://oss.oracle.com/bugzilla/show_bug.cgi?id=1230.
> 
> Signed-off-by: Tao Ma <tao.ma at oracle.com>

	This patch is now in the fixes branch of ocfs2.git.

Joel

-- 

"When choosing between two evils, I always like to try the one
 I've never tried before."
        - Mae West

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



More information about the Ocfs2-devel mailing list