From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sunil Mushran Date: Fri, 31 Jul 2009 13:10:43 -0700 Subject: [Ocfs2-devel] [PATCH] Remove redundant BUG_ON in __dlm_queue_ast In-Reply-To: <20090731192802.GA13139@baloo.cartoons> References: <20090731192802.GA13139@baloo.cartoons> Message-ID: <4A734FC3.1050605@oracle.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ocfs2-devel@oss.oracle.com Signed-off-by: Sunil Mushran Goldwyn Rodrigues wrote: > Remove redundant BUG_ON() > > Signed-off-by: Goldwyn Rodrigues > --- > > 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"); > > >