]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/alloc.c
ocfs2: Don't panic when truncating an empty extent
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / alloc.c
index ce62c152823dd2df71b1d504cc598a1983409d5d..97f0db5167c488900fe347f5deb4e1a7b51938c0 100644 (file)
@@ -6093,8 +6093,6 @@ start:
        mlog(0, "clusters_to_del = %u in this pass, tail blk=%llu\n",
             clusters_to_del, (unsigned long long)path_leaf_bh(path)->b_blocknr);
 
-       BUG_ON(clusters_to_del == 0);
-
        mutex_lock(&tl_inode->i_mutex);
        tl_sem = 1;
        /* ocfs2_truncate_log_needs_flush guarantees us at least one