From: Tao Ma Date: Wed, 3 Mar 2010 03:26:27 +0000 (+0800) Subject: ocfs2: Change bg_chain check for ocfs2_validate_gd_parent. X-Git-Tag: v2.6.34-rc3~5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78c37eb0d5e6a9727b12ea0f1821795ffaa66cfe;p=pandora-kernel.git ocfs2: Change bg_chain check for ocfs2_validate_gd_parent. 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 Signed-off-by: Joel Becker --- Reading git-diff-tree failed