Skip to content

Commit

Permalink
ocfs2: Remove redundant BUG_ON in __dlm_queue_ast()
Browse files Browse the repository at this point in the history
We BUG_ON() the same thing twice.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.de>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
  • Loading branch information
Goldwyn Rodrigues authored and Joel Becker committed Jul 31, 2009
1 parent e9956fa commit ab57a40
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/ocfs2/dlm/dlmast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit ab57a40

Please sign in to comment.