aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/omap_uwire.c
diff options
context:
space:
mode:
authorTao Ma <tao.ma@oracle.com>2009-07-23 08:12:58 +0800
committerJoel Becker <joel.becker@oracle.com>2009-07-23 10:58:46 -0700
commit82e12644cf5227dab15201fbcaf0ca6330ebd70f (patch)
tree11485e6192c3e5f0e6c2aa95c2deeb8130b61cc1 /drivers/spi/omap_uwire.c
parentf7b1aa69be138ad9d7d3f31fa56f4c9407f56b6a (diff)
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>
Diffstat (limited to 'drivers/spi/omap_uwire.c')
0 files changed, 0 insertions, 0 deletions