[Ocfs2-devel] [PATCH] ocfs2: Reset status if we want to restart file extension.

Joel Becker Joel.Becker at oracle.com
Fri Apr 16 03:14:31 PDT 2010


On Fri, Apr 16, 2010 at 01:59:25PM +0800, Tao Ma wrote:
> In __ocfs2_extend_allocation, we will restart our file extension
> if ((!status) && restart_func). But there is a bug that the
> status is still left as -EGAIN. This is really an old bug,
> but it is masked by the return value of ocfs2_journal_dirty.
> So it show up when we make ocfs2_journal_dirty void.
> 
> Signed-off-by: Tao Ma <tao.ma at oracle.com>

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

Joel


-- 

"The nearest approach to immortality on Earth is a government
 bureau."
	- James F. Byrnes

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