From: Tao Ma Date: Fri, 16 Apr 2010 05:59:25 +0000 (+0800) Subject: ocfs2: Reset status if we want to restart file extension. X-Git-Tag: v2.6.34-rc7~27^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79681842e160c3211eeeb47ea31b061038d1e41e;p=pandora-kernel.git ocfs2: Reset status if we want to restart file extension. 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed