lkml.org 
[lkml]   [2009]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 22/25] [reiserfs] BUG to BUG_ON changes
Date
Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
---
include/linux/reiserfs_fs.h | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/linux/reiserfs_fs.h b/include/linux/reiserfs_fs.h
index bc5114d..67a38f5 100644
--- a/include/linux/reiserfs_fs.h
+++ b/include/linux/reiserfs_fs.h
@@ -1707,8 +1707,7 @@ static inline int reiserfs_transaction_running(struct super_block *s)
struct reiserfs_transaction_handle *th = current->journal_info;
if (th && th->t_super == s)
return 1;
- if (th && th->t_super == NULL)
- BUG();
+ BUG_ON(th && th->t_super == NULL);
return 0;
}

--
1.6.1.3


\
 
 \ /
  Last update: 2009-03-10 06:21    [W:1.997 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site