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: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>hifive-unleashed-5.1
parent
90bcab998d
commit
da5eb9cdda
|
@ -92,7 +92,6 @@ void gfs2_trans_end(struct gfs2_sbd *sdp)
|
||||||
s64 nbuf;
|
s64 nbuf;
|
||||||
int alloced = test_bit(TR_ALLOCED, &tr->tr_flags);
|
int alloced = test_bit(TR_ALLOCED, &tr->tr_flags);
|
||||||
|
|
||||||
BUG_ON(!tr);
|
|
||||||
current->journal_info = NULL;
|
current->journal_info = NULL;
|
||||||
|
|
||||||
if (!test_bit(TR_TOUCHED, &tr->tr_flags)) {
|
if (!test_bit(TR_TOUCHED, &tr->tr_flags)) {
|
||||||
|
|
Loading…
Reference in New Issue