]> err.no Git - linux-2.6/blobdiff - fs/ocfs2/alloc.c
m68knommu: rework definition of HZ
[linux-2.6] / fs / ocfs2 / alloc.c
index a26882144e8fa577624a404f41a2dc4269194812..41f84c92094fc114854f9dfd5ff98f4f470a3bec 100644 (file)
@@ -1029,8 +1029,7 @@ static void ocfs2_rotate_leaf(struct ocfs2_extent_list *el,
        BUG_ON(!next_free);
 
        /* The tree code before us didn't allow enough room in the leaf. */
-       if (el->l_next_free_rec == el->l_count && !has_empty)
-               BUG();
+       BUG_ON(el->l_next_free_rec == el->l_count && !has_empty);
 
        /*
         * The easiest way to approach this is to just remove the