ocfs2: Remove redundant BUG_ON in __dlm_queue_ast()
authorGoldwyn Rodrigues <rgoldwyn@gmail.com>
Fri, 31 Jul 2009 19:28:02 +0000 (14:28 -0500)
committerJoel Becker <joel.becker@oracle.com>
Fri, 31 Jul 2009 20:43:44 +0000 (13:43 -0700)
We BUG_ON() the same thing twice.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlm/dlmast.c

index d07ddbe..81eff8e 100644 (file)
@@ -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");