Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da5eb9cd authored by Andreas Gruenbacher's avatar Andreas Gruenbacher Committed by Bob Peterson
Browse files

gfs2: Remove pointless BUG_ON



The current transaction is being dereferenced before asserting that is
not NULL; that isn't going to help.

Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
parent 90bcab99
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -92,7 +92,6 @@ void gfs2_trans_end(struct gfs2_sbd *sdp)
	s64 nbuf;
	int alloced = test_bit(TR_ALLOCED, &tr->tr_flags);

	BUG_ON(!tr);
	current->journal_info = NULL;

	if (!test_bit(TR_TOUCHED, &tr->tr_flags)) {