Tao Ma 82e12644cf 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 <tao.ma@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2009-07-23 10:58:46 -07:00
..
2009-03-31 23:00:26 -04:00
2009-01-05 08:34:20 -08:00
2009-07-21 15:47:55 -07:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2009-06-22 14:34:26 -07:00
2009-06-22 14:34:26 -07:00
2009-04-21 16:31:20 -07:00
2009-06-22 14:34:26 -07:00
2009-01-22 13:15:54 +03:00
2008-10-13 13:57:57 -07:00
2008-10-13 13:57:57 -07:00
2009-06-22 14:34:26 -07:00
2009-04-03 11:39:16 -07:00
2009-07-21 15:47:55 -07:00
2009-07-21 15:47:55 -07:00
2009-05-09 10:49:40 -04:00