From: Goldwyn Rodrigues Date: Fri, 31 Jul 2009 19:28:02 +0000 (-0500) Subject: ocfs2: Remove redundant BUG_ON in __dlm_queue_ast() X-Git-Tag: upstream/snapshot3+hdmi~17141^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab57a40827d99e2d8e59066a56b93bf6c844c916;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ocfs2: Remove redundant BUG_ON in __dlm_queue_ast() We BUG_ON() the same thing twice. Signed-off-by: Goldwyn Rodrigues Signed-off-by: Joel Becker --- diff --git a/fs/ocfs2/dlm/dlmast.c b/fs/ocfs2/dlm/dlmast.c index d07ddbe..81eff8e 100644 --- a/fs/ocfs2/dlm/dlmast.c +++ b/fs/ocfs2/dlm/dlmast.c @@ -103,7 +103,6 @@ static void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) lock->ast_pending, lock->ml.type); BUG(); } - BUG_ON(!list_empty(&lock->ast_list)); if (lock->ast_pending) mlog(0, "lock has an ast getting flushed right now\n");