From d3f55636b656bbf1b76e8b74ad3d8e8055b9eb42 Mon Sep 17 00:00:00 2001 From: Mark Fasheh Date: Mon, 3 Dec 2007 15:02:10 -0800 Subject: [PATCH] --- yaml --- r: 74954 b: refs/heads/master c: 92295d8054289eff0d52b4d12349f9b9df0f58e4 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/alloc.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 0ab43451f5d5..b2e9e0f3cf10 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a86370fbb65a0a2cb21d28bf25a748f6cc04385b +refs/heads/master: 92295d8054289eff0d52b4d12349f9b9df0f58e4 diff --git a/trunk/fs/ocfs2/alloc.c b/trunk/fs/ocfs2/alloc.c index ce62c152823d..97f0db5167c4 100644 --- a/trunk/fs/ocfs2/alloc.c +++ b/trunk/fs/ocfs2/alloc.c @@ -6093,8 +6093,6 @@ int ocfs2_commit_truncate(struct ocfs2_super *osb, 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