From: Tao Ma Date: Thu, 23 Jul 2009 00:12:58 +0000 (+0800) Subject: ocfs2: Use ocfs2_rec_clusters in ocfs2_adjust_adjacent_records. X-Git-Tag: v2.6.31-rc6~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e12644cf5227dab15201fbcaf0ca6330ebd70f;p=pandora-kernel.git ocfs2: Use ocfs2_rec_clusters in ocfs2_adjust_adjacent_records. In ocfs2_adjust_adjacent_records, we will adjust adjacent records according to the extent_list in the lower level. But actually the lower level tree will either be a leaf or a branch. If we only use ocfs2_is_empty_extent we will meet with some problem if the lower tree is a branch (tree_depth > 1). So use !ocfs2_rec_clusters instead. And actually only the leaf record can have holes. So add a BUG_ON for non-leaf branch. Signed-off-by: Tao Ma Signed-off-by: Joel Becker --- Reading git-diff-tree failed