Goldwyn Rodrigues
2009-Jul-31 19:28 UTC
[Ocfs2-devel] [PATCH] Remove redundant BUG_ON in __dlm_queue_ast
Remove redundant BUG_ON() Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de> --- 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"); -- Goldwyn
Sunil Mushran
2009-Jul-31 19:39 UTC
[Ocfs2-devel] [PATCH] Remove redundant BUG_ON in __dlm_queue_ast
Can you explain why you think it is redundant? Goldwyn Rodrigues wrote:> Remove redundant BUG_ON() > > Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de> > --- > > 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"); > > >
Sunil Mushran
2009-Jul-31 20:10 UTC
[Ocfs2-devel] [PATCH] Remove redundant BUG_ON in __dlm_queue_ast
Signed-off-by: Sunil Mushran <sunil.mushran at oracle.com> Goldwyn Rodrigues wrote:> Remove redundant BUG_ON() > > Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de> > --- > > 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"); > > >
Joel Becker
2009-Jul-31 20:48 UTC
[Ocfs2-devel] [PATCH] Remove redundant BUG_ON in __dlm_queue_ast
On Fri, Jul 31, 2009 at 02:28:02PM -0500, Goldwyn Rodrigues wrote:> Remove redundant BUG_ON() > > Signed-off-by: Goldwyn Rodrigues <rgoldwyn at suse.de>This is now in the fixes branch of ocfs2.git. Joel -- "Same dancers in the same old shoes. You get too careful with the steps you choose. You don't care about winning but you don't want to lose After the thrill is gone." Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127
Maybe Matching Threads
- [PATCH] Remove versioning information
- Backport patches to ocfs2 1.4 tree from mainline
- [PATCH] Remove unecessary ERROR when removing non-empty directory
- [PATCH 1/4] ocfs2/dlm: Retract fix for race between purge and migrate
- [GIT PULL] ocfs2 fixes for 2.6.31-rc5