ocfs2-use-bug_on-instead-of-if-condition-followed-by-bug.patch removed from -mm tree
The patch titled
Subject: ocfs2: use BUG_ON instead of if condition followed by BUG.
has been removed from the -mm tree. Its filename was
ocfs2-use-bug_on-instead-of-if-condition-followed-by-bug.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Zhang Mingyu <[email protected]>
Subject: ocfs2: use BUG_ON instead of if condition followed by BUG.
This issue was detected with the help of Coccinelle.
Signed-off-by Zhang Mingyu <[email protected]>
Reported-by Zeal Robot <[email protected]>
Acked-by Joseph Qi <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Changwei Ge <[email protected]>
Cc Gang He <[email protected]>
Cc Jun Piao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/journal.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
fs/ocfs2/journal.c renamed from fs/ocfs2/journal.c~ocfs2-use-bug_on-instead-of-if-condition-followed-by-bug +2 -4
@@ -1669,8 +1669,7 @@ static int ocfs2_replay_journal(struct o status =jbd2_journal_load (journal);if (status <0 ) {mlog_errno (status); -if (!igrab (inode)) -BUG (); +BUG_ON (!igrab (inode));jbd2_journal_destroy (journal); goto done; }
@@ -1699,8 +1698,7 @@ static int ocfs2_replay_journal(struct oif (status <0 )mlog_errno (status); -if (!igrab (inode)) -BUG (); +BUG_ON (!igrab (inode));jbd2_journal_destroy (journal);
_
Patches currently in -mm which might be from [email protected] are